Something like:

<session-config>
  <session-timeout>30</session-timeout>
  </session-config>



Kevin Duffey wrote:

> If your doing a servlet 2.2 web-app in a J2EE Servlet 2.2 engine, put it in
> web.xml of the web-app. Its a standard J2EE (Servlet 2.2) tag in the web.xml
> file. I think it is <session-config time-out="xxx" /> where xxx is the
> number of minutes. I can't remeber for sure.
>
> > -----Original Message-----
> > From: Jyoti Bongarala [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 18, 2000 4:09 PM
> > To: [EMAIL PROTECTED]
> > Subject: Where in the application should I manually set the session
> > timeout
> >
> >
> > My application's first servlet creates a session to be
> > used by other jsp pages and servlets of the app.
> >
> > My question is - where should I set the session
> > timeout - right after I create the session OR ......
> >
> > Please let me know..
> >
> > thanks,
> > Jyoti
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com/
> >
> > ==============================================================
> > =============
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > "signoff JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--

Best Regards,

Yi Liu
Java Programmer

--

Invisible.Ink Corporation
1400 Old Country Road Suite 408
Westbury, NY 11590
Phone: (516) 338 - 5283  Ext.148
Fax: (516) 876 - 8032

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to