How to get two sessions on same workstation

  • Thread starter Thread starter Lloyd Sheen
  • Start date Start date
L

Lloyd Sheen

I am trying to get two seperate sessions on the same workstation. I have
put the sessionid as a label on the page and I get only one sessionid if I
open two "sessions" in seperate IE executions. I also get the same if I
embed a webbrowser control into a windows application.

Any ideas?

Thanks
Lloyd Sheen
 
switch to cookieless sessions, as the broser shares the session cookie.

-- bruce (sqlwork.com)
 
as the browser will share the session cookie (you can not change this),
you will need to write you own session handler. you can store your
session data in a collection in session, and store a key in a hidden
field on the page. be sure to include the key in the url on a redirect.

-- bruce (sqlwork.com)
 
the session cookies are shared between all the IE windows owned by one
specific iexplore.exe (e.g using open new window etc)

each time you open up internet explorer from the start menu (or just
start/run iexplore), you will get a new iexplore.exe which will not share
sessions with the others

I use this all the time for testing web apps
 
bruce barker said:
as the browser will share the session cookie (you can not change this),
you will need to write you own session handler. you can store your session
data in a collection in session, and store a key in a hidden field on the
page. be sure to include the key in the url on a redirect.

-- bruce (sqlwork.com)

Seems that a CTL-F5 will do the trick.

Thanks
LS
 
Back
Top