Results 1 to 1 of 1
- 03-28-2009, 05:32 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 1
- Rep Power
- 0
How to clear session when closing explorer?
Dear All,
I need to clear the session when i am closing Internet Explorer, through servlet (i think doFilter),
Im using a struts application.
My problem is when i m logging into my application and closing the application directly by close window-close button regardless without using LOGOUT option, the session is still maintained
And then after that i can able to logging into application without using the username and password... and even process into the application is possible
So when im closing the Internet Explorer and open my application in new window, i should clear the previous session by servlet.
How can i do this by using doFilter or anyother logic in servlet
Can anybody help. I need this urgent please.
Thanks in advance,
Sivanandam
Similar Threads
-
How to detect browser closing to invalidate a jsp session
By kumar_ps78 in forum JavaServer Pages (JSP) and JSTLReplies: 13Last Post: 08-13-2009, 03:56 PM -
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 to clear the session when leaving a page.
By shivakumari in forum Java ServletReplies: 3Last Post: 03-25-2009, 06:25 AM -
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 -
Can i use a resultset more than once without closing it
By haneeshrawther in forum JDBCReplies: 5Last Post: 06-26-2008, 03:16 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks