Results 1 to 9 of 9
- 11-14-2009, 04:27 PM #1
Member
- Join Date
- Nov 2009
- Posts
- 12
- Rep Power
- 0
Need help for displaying session timeout
Hi All,
Im a newbie. I need to display session timeout message with 2 option whether to continue or logout. If contine is clicked the session should be refreshed to another 20 minutes and if logout the data last accessed in that page should not be displayed and all info should be wiped off. Also the session timeout message should be displayed 1 minute before session timeout with these option.
Also the session should be refreshed to 20 minutes on activation of that page like mouse click on page, scrolling, etc on that page.
Please guide me on this
- 11-14-2009, 05:30 PM #2
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,158
- Rep Power
- 5
Sounds like Application Inactivity concepts might get you started in the right direction.
- 11-15-2009, 02:53 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 11-15-2009, 03:30 AM #4
Member
- Join Date
- Nov 2009
- Posts
- 12
- Rep Power
- 0
this timeout message should support in mostly used web browsers like IE 6/7/8 and firefox 3/3.5 and netscape etc.Can it be developed in Java script or Java, based on browser compatibilty of either. And many thanks to Camikr and Eranga for ur great help.
- 11-15-2009, 06:14 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Actually JavaScript is not related with Java technologies, but we can use it for browser dependent task. If you want to take different actions based on the browser normally we use JS, easy to find the browser type and take the appropriate action.
- 11-16-2009, 05:22 AM #6
Member
- Join Date
- Nov 2009
- Posts
- 12
- Rep Power
- 0
how to clear all the session windows and make cache expire?
- 11-19-2009, 04:34 PM #7
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
To clear the sessions you can use the following method.
Java Code:session.invalidate();
- 11-21-2009, 01:48 PM #8
Member
- Join Date
- Nov 2009
- Posts
- 12
- Rep Power
- 0
Thanks
Thanks a lot Eranga!
- 11-21-2009, 04:13 PM #9
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
You are welcome. :)
If you've solved the problem, please mark the thread solved from the tools menu.
Similar Threads
-
Session Timeout in LDAP
By syntel in forum Java ServletReplies: 0Last Post: 08-04-2009, 10:18 AM -
How to Kill session at application context level by using session Id
By Kishore.Kumar in forum Java ServletReplies: 1Last Post: 04-21-2009, 11:20 PM -
How do I create session for a user when S/he login and expire the session.
By dpk_vash in forum Web FrameworksReplies: 2Last Post: 12-23-2008, 06:35 PM -
session timeout
By nmbalaji in forum JavaServer Pages (JSP) and JSTLReplies: 4Last Post: 12-12-2008, 04:04 PM -
Session Timeout alert message
By hemendra.rathore in forum Advanced JavaReplies: 1Last Post: 11-03-2008, 07:03 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks