I got find some method to distinguish session between mutiple tabs of browsers. First is the about the Cookiesless. Second is using Javascript to handle the window.name when open new tabs. Third is using hidden field to keep the session value. Still got other method to distinguish the session?
I got find some method to distinguish session between mutiple tabs of browsers. First
Share
Something that many sites do, including my DNS provider and a number of banks, is just to keep the session identifier in a URL parameter instead of a cookie, and have every manner of getting between pages pass the id to the next page.
This results in a session only surviving as long as each individual tab is open, and means that each tab has a unique session that does not use cookies.
In ASP.NET, using a hidden field that exists on every page to continuously pass a constant session identifier is a good and easy method of doing this.
Another thing you can do is to hash the identifier each time navigation occurs if you want to stop people using the browser back button or browser history for security reasons. This is the method many netbanking services use. Note that while very secure, this method can be frustrating for users.