Results 1 to 1 of 1
- 03-13-2010, 09:12 AM #1
Member
- Join Date
- Apr 2009
- Posts
- 3
- Rep Power
- 0
Invalidatig session when URL is copied on new browser window
Hello all,
I am using url rewriting (for some technical reason not supposed to use cookies) mechanism in my application for session tracking mechanism.
I am facing the below issue:
1) Launch the application - the url now has jsessionid appended to it and I come to some intermediate screen
2) Copy the url containing the jsessionid
3) Open a new browser window (on the same machine), paste the url there and hit it. I get the screen that i got in step 1 in the previous window.
I dont want step 3 to happen. Instead I want the session to get invalidated if step 3 is executed.
I did the same thing just out of curiosity with icici bank website where i logged in, then copied the url and pasted it in another browser and tried hitting but the session got expired.This is what I want with my application. Note that I am not using any database in my application.
Can some one help me out how to acieve this? Is there a way to find out that the request to the same sessionid is coming from a different browser window than from which jsessionid was actually created. Any pointers to this would be highly appreciated.
Similar Threads
-
opening default browser window in invisible mode
By robby14 in forum Advanced JavaReplies: 1Last Post: 02-20-2010, 01:50 AM -
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 -
Mozilla using the same session ID for different browser
By ajith_raj in forum Advanced JavaReplies: 1Last Post: 04-23-2009, 12:31 PM -
uniquely identifying a browser window
By mrak in forum Advanced JavaReplies: 3Last Post: 01-17-2009, 06:29 AM -
how can objects themselves be copied???
By ishakteyran in forum New To JavaReplies: 1Last Post: 12-29-2007, 10:04 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks