473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to get two sessions on same workstation

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

Dec 6 '07 #1
7 1360
Have you tried this using one IE browser and the other Firefox?

"Lloyd Sheen" wrote:
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

Dec 6 '07 #2
switch to cookieless sessions, as the broser shares the session cookie.

-- bruce (sqlwork.com)

Lloyd Sheen wrote:
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
Dec 6 '07 #3

"Jacques" <Ja*****@discussions.microsoft.comwrote in message
news:CF**********************************@microsof t.com...
Have you tried this using one IE browser and the other Firefox?

"Lloyd Sheen" wrote:
>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

Not an option.

LS

Dec 6 '07 #4

"bruce barker" <no****@nospam.comwrote in message
news:eG**************@TK2MSFTNGP06.phx.gbl...
switch to cookieless sessions, as the broser shares the session cookie.

-- bruce (sqlwork.com)

Lloyd Sheen wrote:
>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
Not an option.

LS

Dec 6 '07 #5
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)

Lloyd Sheen wrote:
>
"bruce barker" <no****@nospam.comwrote in message
news:eG**************@TK2MSFTNGP06.phx.gbl...
>switch to cookieless sessions, as the broser shares the session cookie.

-- bruce (sqlwork.com)

Lloyd Sheen wrote:
>>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

Not an option.

LS
Dec 6 '07 #6
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

"Lloyd Sheen" <a@b.cwrote in message
news:eC**************@TK2MSFTNGP03.phx.gbl...
>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

Dec 6 '07 #7

"bruce barker" <no****@nospam.comwrote in message
news:uR**************@TK2MSFTNGP06.phx.gbl...
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)

Lloyd Sheen wrote:
>>
"bruce barker" <no****@nospam.comwrote in message
news:eG**************@TK2MSFTNGP06.phx.gbl...
>>switch to cookieless sessions, as the broser shares the session cookie.

-- bruce (sqlwork.com)

Lloyd Sheen wrote:
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

Not an option.

LS
Seems that a CTL-F5 will do the trick.

Thanks
LS

Dec 6 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
9
by: E. Will | last post by:
Hello world, Myself and a few friends have been experiencing the same problem. When using sessions in PHP for ``logins'' we experience the sessions ``mixing.'' To say, one user logs in as...
22
by: Theo | last post by:
Question for the group The authentication system for the site Im working on seems to function properly and all is good. A session keeps track of everything and a cookie is used to accept or deny...
1
by: windandwaves | last post by:
Hi Gurus I am basically sorry that I have to bother you about this. I am a PHP beginner and I have been studying sessions and cookies over the last few weeks. I have learned lots, but I am...
4
by: vesely | last post by:
Hi all, I'm currently relying on logged-in users hitting "logout" (logoff) before they leave, in order to terminate the session. With PHP the session filename is in a cookie that lasts for the...
3
by: Maxime Ducharme | last post by:
Hi group We have a problem with sessions in one of our sites. Sessions are used to store login info & some other infos (no objects are stored in sessions). We are using Windows 2000 Server...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
22
by: magic_hat60622 | last post by:
Hi all. I've got an app that dumps a user id into a session after successful login. the login page is http://www.mydomain.com/login.php. If the user visits pages on my site without the www (i.e.,...
3
by: Jon Slaughter | last post by:
Any pitfalls or stuff I need to worry about when working with sessions? I want to write a log file and hit counter along with a login interface and I'm trying to learn this stuff. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.