Problem with SESSION VARIABLES using netscape when opening a new instance of the browser 
Author Message
 Problem with SESSION VARIABLES using netscape when opening a new instance of the browser

Hi fellow developers,
this is my situation:
I'm using IIS 5 / VBScript as client scripting. Browsers :I.E and
NETSCAPE.

Using netscape (4.75 or 6.2) when I open the browser IIS create a
sessionId.
I use it to control many things in my website. If in the same machine
I open another instance of the browser, IIS returns the same instance
of sessionId. When I change the value of a session variable in this
new instance of the browser it takes effect for BOTH sessions, so I
miss the control in the first instance because those sessions
variables I changed in the NEW instance took effect for both and the
records in my database are wrong(sqlserver).

It works fine with I.E because when I open a new instance of the
browser in the same machine, IIS creates a new sessionId.

How can I force to IIS to create a NEW sessionId instead of giving the
same one or how can I change only that value of my session variable in
the new instance of the browser not in both instances.

Any ideas how I can handle this problem?
I appreciate any comment. You can also write me to my work's email:



Mon, 25 Jul 2005 04:55:02 GMT  
 Problem with SESSION VARIABLES using netscape when opening a new instance of the browser
1.  I believe the session ID is tracked via cookie, so no matter what,
multiple instances of the same browser will always have the same session.
You'll need to find a different way to do what you're doing, perhaps using
querystrings or something.

2.  How on Earth are you using vbscript client-side in Netscape?

Ray at work


Quote:
> Hi fellow developers,
> this is my situation:
> I'm using IIS 5 / VBscript as client scripting. Browsers :I.E and
> NETSCAPE.

> Using netscape (4.75 or 6.2) when I open the browser IIS create a
> sessionId.
> I use it to control many things in my website. If in the same machine
> I open another instance of the browser, IIS returns the same instance
> of sessionId. When I change the value of a session variable in this
> new instance of the browser it takes effect for BOTH sessions, so I
> miss the control in the first instance because those sessions
> variables I changed in the NEW instance took effect for both and the
> records in my database are wrong(sqlserver).

> It works fine with I.E because when I open a new instance of the
> browser in the same machine, IIS creates a new sessionId.

> How can I force to IIS to create a NEW sessionId instead of giving the
> same one or how can I change only that value of my session variable in
> the new instance of the browser not in both instances.

> Any ideas how I can handle this problem?
> I appreciate any comment. You can also write me to my work's email:




Mon, 25 Jul 2005 06:51:30 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Open new database using the same instance of Access

2. open a new window with a new session ID

3. Open new Instance of IE5

4. Netscape Version 4.X & Session Variables

5. Pass variable to new session

6. How to open Netscape / IE in new window

7. setting object variable to new instance of data environment causes error

8. My session and data is reset when a new window is opened

9. WebBrowser Control does not transfer session to new open window

10. Passing Session Variable to a new windows

11. Open a new window with same session id.

12. Session variables losing scope for new window

 

 
Powered by phpBB® Forum Software