Results 1 to 3 of 3
- 04-09-2008, 03:26 PM #1
Member
- Join Date
- Feb 2008
- Posts
- 7
- Rep Power
- 0
How to use HttpSessionActivationListener
Hi Friends
I would like to implement HttpSessionActivationListener in my project . Can you please tell me what all needs to be done for this?
I also tried. But I'm not able to get any outputs from Listener. I've implemented this class and overrided two unimplemeted methods(sessionDidActivate,sessionWillPassivate). And I put Println statements inside. And I kept a listener entry in web.xml.My project is working fine. but the listener class println statements is not printing in the console. Can you please send me the steps and if possible send some sample codes. Any help would be appreciated.
Regards
Kasipandian.R
- 04-09-2008, 03:29 PM #2
Member
- Join Date
- Apr 2008
- Posts
- 91
- Rep Power
- 0
Please describe your exact requirement.
- 04-09-2008, 05:40 PM #3
Member
- Join Date
- Feb 2008
- Posts
- 7
- Rep Power
- 0
Hi,
My requirement is, the session time out is 60 minutes. Whenever the system idle for 60 minutes the system should automatically go to session expired page. That will happen automatically. But 5 minutes before I've to give a pop up or alert message "session is going to expired". For this I've access the system idle time whenever the system is idle. Now I'm using javascript setTimeout function. In server is not working fine. So I'm planning to use session API, to track the session and I've to implement the logic based on my requirement. And I dont want Javascript functionality. And I 've to find out the system idle time and this function should be running automatically in frequent interval. Any help would be appreciated.
Regards
Kasi


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks