I need to have a new session for each browser window / tab. I am aware that ASP.NET assigns one session for each process. I also know that browsers use this session between all open tabs / windows of the application. However, I need to come up with a way to create a new session for a new tab / window.
Cookieless session-state is also not a parameter. I already looked at that. I want the URL to be clean.
I reviewed the following solutions. 1) asp.net - session - multiple browser tabs - different sessions? . These solutions use the IsPostBack property, which is not available in MVC. 2) https://sites.google.com/site/sarittechworld/track-client-windows . This one looks very complicated, and I don't quite understand that javascript magic is going on in it. I do not want to offer a solution that I do not understand. In addition, I am not fully aware of any security holes this solution might create.
Can someone point me in the right direction?
source share