How to get two sessions on same workstation

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
 
B

bruce barker

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

-- bruce (sqlwork.com)
 
B

bruce barker

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)
 
A

Andy Fish

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
 
L

Lloyd Sheen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top