Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

How to get two sessions on same workstation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Sheen - 06 Dec 2007 15:58 GMT
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
Jacques - 06 Dec 2007 16:06 GMT
Have you tried this using one IE browser and the other Firefox?

> 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
[quoted text clipped - 5 lines]
> Thanks
> Lloyd Sheen
Lloyd Sheen - 06 Dec 2007 18:46 GMT
> Have you tried this using one IE browser and the other Firefox?
>
[quoted text clipped - 8 lines]
>> Thanks
>> Lloyd Sheen

Not an option.

LS
bruce barker - 06 Dec 2007 16:43 GMT
switch to cookieless sessions, as the broser shares the session cookie.

-- bruce (sqlwork.com)

> 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
[quoted text clipped - 5 lines]
> Thanks
> Lloyd Sheen
Lloyd Sheen - 06 Dec 2007 18:46 GMT
> switch to cookieless sessions, as the broser shares the session cookie.
>
[quoted text clipped - 9 lines]
>> Thanks
>> Lloyd Sheen

Not an option.

LS
bruce barker - 06 Dec 2007 19:37 GMT
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)

>> switch to cookieless sessions, as the broser shares the session cookie.
>>
[quoted text clipped - 13 lines]
>
> LS
Lloyd Sheen - 06 Dec 2007 23:41 GMT
> 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
[quoted text clipped - 21 lines]
>>
>> LS

Seems that a CTL-F5 will do the trick.

Thanks
LS
Andy Fish - 06 Dec 2007 20:32 GMT
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

>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
[quoted text clipped - 5 lines]
> Thanks
> Lloyd Sheen

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.