G
Guest
Ok..this a rather odd question/problem. I haven't really found a straight
forward answer to how to handle this scenario, so I hope someone here can
help.
Here it is:
I have an application that allows users to log in. Each user can have
multiple roles within the application. Each role allows the user to access
different sections of the app and allows/denies them certain functionality.
My client has requested that there be a "New Window" link on each page so
that a user (at any time) can open a new window and log on (again) using a
differnt role. So essentially they want to the ability to have 2 or more
browser windows open at the same time and be able to access the application
using different roles simultaneously.
Here is what I know for sure:
When you do a window.open using IE6 the new window shares the session ID so
any attempts to do a session.abandon will effectively kill the parent
window's session as well. Also any changes to Session variables in the child
window will also come accross in the parent window the next time the page
makes a request to the server.
What I need is to be able to let the users click on the "New Window" link
and have them redirected to the login screen where they can select the Role
they want to log in as and then grant them access into the application using
that role ...while creating a new session for that window.
The only fool-proof way that I know if is to start a new instance of IE
using the shortcut on my desktop/toolbar/startmenu...... However...this is
not sexy enough for the client.
The application is designed specifically for IE 6+.
Any help would be greatly appreciated!!!
Thanks in advance.
forward answer to how to handle this scenario, so I hope someone here can
help.
Here it is:
I have an application that allows users to log in. Each user can have
multiple roles within the application. Each role allows the user to access
different sections of the app and allows/denies them certain functionality.
My client has requested that there be a "New Window" link on each page so
that a user (at any time) can open a new window and log on (again) using a
differnt role. So essentially they want to the ability to have 2 or more
browser windows open at the same time and be able to access the application
using different roles simultaneously.
Here is what I know for sure:
When you do a window.open using IE6 the new window shares the session ID so
any attempts to do a session.abandon will effectively kill the parent
window's session as well. Also any changes to Session variables in the child
window will also come accross in the parent window the next time the page
makes a request to the server.
What I need is to be able to let the users click on the "New Window" link
and have them redirected to the login screen where they can select the Role
they want to log in as and then grant them access into the application using
that role ...while creating a new session for that window.
The only fool-proof way that I know if is to start a new instance of IE
using the shortcut on my desktop/toolbar/startmenu...... However...this is
not sexy enough for the client.
The application is designed specifically for IE 6+.
Any help would be greatly appreciated!!!
Thanks in advance.