Wednesday, 21 August 2013

Avoid sharing of same session across multiple tabs using

By default all browsers share session state between multiple tabs. So if you logged into one tab with particular site and open internal link of the same site in new tab, you need not to worry to login again. It will automatically declare you as logged in user.

When open different tabs, those tab will share same session if user access same web app in different tabs. same as sign out process also.

this is normal behavior of browser (shared single session on multiple tab).

Tab based browser – session handling

if you need each tab will get unique ID and it will looks like it is another visitor, try this code

    <sessionState cookieless="true"
      regenerateExpiredSessionId="true" />


  1. It doesn't run with relative path or "/" when it means "/default.aspx"

  2. Not working form me.
    What I do:
    1.- OPen my web app
    2.- Log in
    3.- Copy URL
    4.- Open new tab
    5.- Paste URL.

    And continues logged in, and I dont want to continue loged in in the new tab.

    Any ideaS?

  3. why u post such a nonsense things