This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes How to differ sessions in browser-tabs using  Spring MVC application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How to differ sessions in browser-tabs using  Spring MVC application?" Watch "How to differ sessions in browser-tabs using  Spring MVC application?" New topic
Author

How to differ sessions in browser-tabs using Spring MVC application?

selva raja
Ranch Hand

Joined: Nov 24, 2009
Posts: 69
Team,

In a web-application implemented in Spring MVC.if I store information in the user session, this information is shared from all the tabs from the same browser. How to differ sessions in browser-tabs?

Thanks,
selva
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

I feel session is browser-specific not tab-specific


===Vyas Sanzgiri===
My Blog
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
I am using shiro security it is automatically different session for different browser for me how it is I do not have any idea but it is a disadvantage for me.
selva raja
Ranch Hand

Joined: Nov 24, 2009
Posts: 69
Thanks for all your information.

I have three userid,account in my application and each account is mapped to each userid.

I know the httpsession has shared browser specific. In that cause, Is it possible to check each account(userid) at time?

Thanks,
selva

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to differ sessions in browser-tabs using Spring MVC application?
 
Similar Threads
session handling from different tabs of same browser
Spring and AOP
multithreaded web application session issue
Tabs within one browser share Session, but I want to capture close and time out event for each tab
HttpSession sharing between browser instances on same machine!