asp.net unique session when duplicate tab in IE
I know this question has been asked before but I have not found a complete answer. When the user selects duplicate tab in IE it appears the current tab gets its url(with cookless session id) from the current window. Then the two tabs are sharing session values.
I have tried checking the referrer for null, but on the Duplicate Tab command in IE that value is set to the current tab.
The only 开发者_如何学Goworkaround I see is to get rid of session.
The last tab gets the latest session info, sessions are based on browser instances, not tabs, that is ust how they work. You are fighting a losing battle.
You could map the same site to two different domains. When your users want to open a second session, they can access the second domain, which will create a second session.
精彩评论