File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Alerting the user about Session expiry after idle-time
Joined: Aug 26, 2009
Sep 08, 2009 12:44:43
I have the Web application in which i am using Weblogic Server with jsps. My requirment is to alert user prior to the session expiry when he revisit the page after the idle-time.
"When a user is on a page for longer than the required time he is timed out. There is a time-out value on the server that I need to capture and produce an alert box on the page. "
For this i tracked the values from javax.servlet.http API
2. time out value from web.xml
3.*idle time(Unable to get it).
Please suggest me the solution for this, I mean to say is there any readymade plug-in,reusble component for this.
If not then how can i track the idle time for multiple user.
Do reply me ASAP,
Thanks & Regards
Joined: Feb 23, 2009
Sep 08, 2009 13:01:30
An easy to use, light-weight JDBC framework
Joined: Dec 06, 2005
Sep 08, 2009 13:58:08
read Eric's Solution
Update User's Session with AJAX
to get the idea and make it more dynamic..
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: Alerting the user about Session expiry after idle-time
handling session time out
Session Timeout Problem
Session management configuaration Issue
User Idle Time?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015