session id is getting changed when opening a new window (window.open) in IE(internet explorer)

G

grg

I have a strange problem with ASP sessions created by IE. The problem
is happening with a new window (using window.open). In a normal
scenario IE is supposed to use the same session for requests going
from original window and the child window. In my case it is using
different session for these windows. one interesting thing is that
this will happen only if you have multiple instances of IExplorer.exe
(the IE browser). I am listing the exact steps which creates different
session.

Close all the browser instances (IExplore.exe)

1. open an instance of the browser (name it X)
2. connect to the webserver using this browser (lets say it creates a
session with session id 100)
3. open another instance (name it Y)
4. connect to the webserver using Y (it creates a session with id 101)
5. now open a window from X (using window.open from script). the
session id for the requests generated by this window is 100 (this
behaviour is expected)
6. now open a window from Y.
7. the problem starts here. the request from this new window gets the
session id 100 instead of 101 (which is the session id for Y).

8. it is not only for 2 instances. if I open a new instance and create
a new window from there that also gets the same session id (100).

this indicates that all the instances uses the session id of the first
instance while creating new windows.

did anybody encountered this kind of a problem? any help appreciated..

by browser version is

IE 6.0.2800.1106 running on Windows 2000 professional

George
 

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

Top