Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Same session in diffrent browser tab problem

tahirakramJul 3 2008 — edited Jul 5 2010
Hello;

I am having a problem (might be browsers claim it a feature) that my application shares the same session if I use to access it from different tabs of a browser.

I have googled but could not find out any work around for it.

I want to restrict the user if he wants to access my application from another tab. Server identifies the user by session cookie generated by browser itself which kept same in all tabs. So is there any programmatic way that I be able to handle this situation. I want to catch the user at Filter level and redirect to a message page.

Your comments...

-Tahir

Edited by: tahirakram on Jul 3, 2008 10:54 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2010
Added on Jul 3 2008
15 comments
6,200 views