Any Way To Be Notified When a Web Session Will Be Timed Out

J

John Curley

Hi, All:

Just curious. In a Java Web Application, is there anyway the user can
be notified that a session is about to be timed out. For example,
could we pop up a popup window saying "You're session is set to expire
in 2 minutes, please continue working in system..."

I searched the Internet and many resources including J2EE Javadoc but
couldn't find anything.

Thanks,
John Curley

email: (e-mail address removed)
 
T

Tor Iver Wilhelmsen

Just curious. In a Java Web Application, is there anyway the user can
be notified that a session is about to be timed out. For example,
could we pop up a popup window saying "You're session is set to expire
in 2 minutes, please continue working in system..."

Only by using a Javscript with a timer.
 
V

VisionSet

John Curley said:
Hi, All:

Just curious. In a Java Web Application, is there anyway the user can
be notified that a session is about to be timed out. For example,
could we pop up a popup window saying "You're session is set to expire
in 2 minutes, please continue working in system..."

I searched the Internet and many resources including J2EE Javadoc but
couldn't find anything.

With an applet you can do:

use this serverside:
javax.servlet.http.HttpSessionListener

then talk to applet with a stream over http.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,479
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top