p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Session Variables (objects) and new window


Message #1 by "Shaukat Desai" <shaukat.desai@g...> on Mon, 5 Feb 2001 10:23:47 -0000
If you open a new window using control-N I think it shares the same session.
Glenn
----- Original Message -----
From: "Richard Xin" <richardxin@h...>
To: "Code Clinic" <proasp_codeclinic@p...>
Sent: Wednesday, February 07, 2001 10:00 AM
Subject: RE: Session Variables (objects) and new window


> Each instance of IE/NSCP has its own sessions.
> it is very easy to prove this:
> 1. test1.asp, asssign some value to a session variable.
> 2. test2.asp, display this value
> 3. start IE, url=test1.asp, if you change to test2.asp, you WILL see the
> value.
> 4. start new IE, url=test2.asp, <== you will see NOTHING
>
> Thanks,
>
> Richard Xin
> Senior Consultant
> Spectria
>
>
> >From: Ian Barker <Ian.Barker@b...>
> >Reply-To: "Code Clinic" <proasp_codeclinic@p...>
> >To: "Code Clinic" <proasp_codeclinic@p...>
> >Subject: RE: Session Variables (objects) and new window
> >Date: Wed, 7 Feb 2001 08:51:47 -0000
> >
> >Nope. IIS Session is relative to the cookie placed on your
> >machine. If you have a Session cookie that applies to that
> >path on that server then no matter how many windows you
> >open, the session state remains.
> >
> 

  Return to Index