This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes How to invalidate a session in one browser when the same user login from any other browser? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

How to invalidate a session in one browser when the same user login from any other browser?

Anshul K Jain
Greenhorn

Joined: Jul 24, 2010
Posts: 20

hi friends,

Consider i have a user with User Id : - anshul@gmail.com .Now i am loggin with this id in firefox. At the same time i am open other browser IE and login again with the same id.

I need when the try to login with the same id in diffrent browser the session of first browser will removed automatically. So in this case user can remain logged in with IE. not FireFox.


Please help me ..

Thanks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to invalidate a session in one browser when the same user login from any other browser?