I want to create unique session whenever user open a new browser tab or window in ASP.NET MVC application. Is it possible in ASP.NET / MVC ?
I tried to follow below
A variation of the first answer, with HTML 5, is to use window.sessionStorage instead of setting window.name. So you could do something like this on the entry page of your application:
var uniqueId = "<%= Guid.NewGuid().ToString() %>";
window.sessionStorage.setItem("tabId", uniqueId);
Then in every controller action that requires a session you pass the parameter with:
window.sessionStorage.getItem("tabId");