Announcement Announcement Module
Collapse
No announcement yet.
How to maintain different sessions for different window tabs using spring security3? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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.

    Comment

    Working...
    X