I haven't dealt w/ this yet in JSP, but in ASP what I've done is keep track
of essential session variables as hidden fields in a form. Then if the
session has timed out (i.e. session("myvar") = "") then I restore them from
the form fields. This was a hack to solve the problem. It's better not to
use session vars to begin w/.

HTH

> -----Original Message-----
> From: Amit Gupta [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 21, 2001 4:36 PM
> To: [EMAIL PROTECTED]
> Subject: session getting timeout
>
>
> Hi,
> we have a tomcat server and it is getting time out after 30
> min when left
> idle, how can i set it so that session will never expire or
> it takes one
> complete day to expire..
> What I am doing is restarting the server (that is a crude solution).
>
> Thanx
>
> Amit
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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