struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William W" <william_...@hotmail.com>
Subject RE: How can I implement session time out control in struts
Date Wed, 18 Sep 2002 14:17:17 GMT

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: wbchmura@Ensign-BickfordInd.com
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: struts-user@jakarta.apache.org
>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:mkhan@acf.hhs.gov]
>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:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>




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


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message