Thanks! I didn't know about that method. I think I'll set the timeout to 30 minutes when they ask for the quiz and then set it back to the default when they submit it for grading.

Todd

On Apr 7, 2005, at 10:07 AM, Shing Hing Man wrote:

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]



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



Reply via email to