You can try to implement the HttpSessionBindingListener. In the valueUnbound 
method, you can put your object in the session again. But you class need to 
have a field indicating that you did the five minutes, or our object will 
never leave the session.
You can try something like this.
Wiliam.


>From: [EMAIL PROTECTED]
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: RE: How can I implement session time out control in struts
>Date: Wed, 18 Sep 2002 10:11:12 -0400
>
>
>I am not sure about some of this, but one problem is going to be
>actually notifying the user.
>
>Basically I think that unless the user actually is using the pages
>during the last five minutes - how are they going to be notified?  That
>and you can't reload the page?  Frames maybe?  One frame on the screen,
>another that refreshes every minute or something.
>
>Applet maybe?
>
>
>
>-----Original Message-----
>From: mkhan [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, September 18, 2002 10:05 AM
>To: struts-user
>Subject: How can I implement session time out control in struts
>
>
>Our application requires to notify 5 mins before the session time out
>and
>give an option to client to increase their session time out for another
>increment of 30 mins without reloading their page ...Any suggestions?
>Thanks
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to