Sessions are normally shared across all tabs/windows in a browser. If you want to start a new session, either close all instances of the current browser, or use a different browser.
If you want the browser should not use the session cookie then use chrome's incognito window.
Helping you always. Don't forget to click "Mark as Answer" on the post that helped you.
♠ ASP.NET Core Tutorials → Start from the Beginning and become an Expert in 30 days time ♠
Member
177 Points
629 Posts
Different sessions of ASP NET application share the same cookie
Jan 10, 2019 04:27 AM|neoaguil17|LINK
Hi
I log in into some app: http://gppesvlcli1197/SDIO and enter in the url: http://gppesvlcli1197/SDIO/proyecto/bandejaproyecto/index/M30
It uses a cookie: .ASPXAUTH
I start another session in Chrome and copy and paste the same url http://gppesvlcli1197/SDIO/proyecto/bandejaproyecto/index/M30
I see that both session have the same value of the cookie: ASPXAUTH
Why is it?
I think that the second session should must ask to login
All-Star
194434 Points
28074 Posts
Moderator
Re: Different sessions of ASP NET application share the same cookie
Jan 10, 2019 08:04 AM|Mikesdotnetting|LINK
Sessions are normally shared across all tabs/windows in a browser. If you want to start a new session, either close all instances of the current browser, or use a different browser.
Participant
1253 Points
935 Posts
Re: Different sessions of ASP NET application share the same cookie
Jan 13, 2019 11:14 AM|yogyogi|LINK
If you want the browser should not use the session cookie then use chrome's incognito window.
♠ ASP.NET Core Tutorials → Start from the Beginning and become an Expert in 30 days time ♠