-
Aug 19th, 2011, 08:45 AM
#1
How to maintain different sessions for different window tabs using spring security3?
I have implemented login functionality using Spring Security 3 Authentication.
I am having problem with session management. Please follow the below scenario,
1. Logged in using valid credentials.
2. Opened another tab/browser window, and tried to logged in using valid credentials(different from previously used credentials).
3. Now, the session object is updated with new values.
I want to know is there a way to create a new session object for new login.
-
Aug 19th, 2011, 01:41 PM
#2
If you are using a Servlet 3.0 container (like Tomcat 7) you can try setting <tracking-mode>URL</tracking-mode>.
This will force the jsessionid into the url. When you open a new tab, it will not know the jsession id from the previous tab and in theory you can have two sessions in the same browser.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules