Have you looked at the method
HttpSession.setMaxInactiveInterval ?

If I remember correctly, 
  the method HttpSession.setMaxInactiveInterval(int
interval)  overrides the session timeout set in
web.xml.

If you can distinquish whether the request is for a
quiz or form, you could set the session time out
accordingly.

Shing


--- Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> Is there any way to keep a session alive while users
> fill out a form 
> that could take a long time? I have the session set
> to expire after 10 
> minutes, but my students could be doing an online
> quiz that takes 
> longer. Is there an easy way to re-activate the
> session or something 
> after students submit their quiz?
> 
> Thanks,
> Todd
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

Home page :
  http://uk.geocities.com/matmsh/index.html

Send instant messages to your online friends http://uk.messenger.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to