How to programmatically create new browser sessions in IE every time a user accessed an application URL in new browser window

≡放荡痞女 提交于 2019-12-02 12:54:26

问题


How to programmatically create new browser sessions in IE every time a user accessed an application URL in new browser window? This is similar to simulating the manual action “File->New Session” menu in IE8 or IE9.

Our users want to login to our application in multiple independent sessions in different IE windows and do independent actions. Since, IE maintains common browser cache to access auth details, new browser window will continue with the existing session without creating a new session. We do not want to invalidate previous session of a user while creating new session for same user to ensure both sessions are active.


回答1:


I personally would not try to fight the default session behavior of the browser, but would rather have the application handle separate parallel sub-sessions. So, if a user in one session wanted to open a new session, you could perhaps open a new tab, with sub-session id passed in URL parameters. You could then propagate each subsession by passing along the subsession information.



来源:https://stackoverflow.com/questions/14508473/how-to-programmatically-create-new-browser-sessions-in-ie-every-time-a-user-acce

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!