How about using Mindbridge's new XTile component. Whenever a user moves to 
a new input field on the page, call the XTile listener in your server. 
This will automatically reset the session timeout. Or you could do when 
the user moves to a new question. This Ajax stuff is very clever, isn't 
it!
Ciao,
Jonathan O'Connor
XCOM Dublin



Shing Hing Man <[EMAIL PROTECTED]> 
07/04/2005 15:07
Please respond to
"Tapestry users" <[email protected]>


To
Tapestry users <[email protected]>
cc

Subject
Re: Keeping the session alive [auf Viren geprueft]






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