Make a petition to server (use an empty servlet o similar). You can call
this servlet using javascript if the user press yes in a hiden frame (or
using the window with the message). The server will give another 30 min.
because it has received a petition.


-----Mensaje original-----
De: Khan, Manuchehar A (ACF) [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 18 de septiembre de 2002 16:28
Para: 'Struts Users Mailing List'
Asunto: RE: How can I implement session time out control in struts

I will try to explain again.
Application session time out is 40 mins. Every page we load on client has to
notify client after 30 mins that session will time out in 10 mins...This can
be achieved easily by starting a timer at client browser and pop up once
timer ran out of time. Now user will be given choice to increase their
session time without reloading thier page. This can be achieved by popping
up another window asking to click ok if they want to increase their session
time. On clicking ok the browser will send request to server and will close
itself.
My q is what do we need to do on server to increase the session time to
another 30 mins ?

-----Original Message-----
From: Jan Fetyko [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 9:17 AM
To: Struts Users Mailing List
Subject: Re: How can I implement session time out control in struts


Another possible question is : What about multiple windows open within
the same session ?
This kind of functionality is calling for Java applets. I guess. :(



Khan, Manuchehar A (ACF) wrote:

>I saw bank of america site. They start timer once the page is loaded and
>before session timeout they notify user of extending the time by popping up
>a small browser window...When the user click ok or close window it is tied
>up to form that sends command to server to increase the session time...but
>how do we do that on server side to increase session time?
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, September 18, 2002 10:11 AM
>To: [EMAIL PROTECTED]
>Subject: RE: How can I implement session time out control in struts
>
>
>
>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]>
>
>--
>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]>

--
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]>

Reply via email to