A session is maintained by passing values between the web server and a
browser.  These values are the CFID and CFTOKEN.  A common way to pass this
information is via cookies, which is why multiple browsers share the same
session (because they share the same cookie).  If you want to allow multiple
browser windows to run different sessions, I believe that you'd have to
_not_ pass the CFID and CFTOKEN via cookies.  That means that the
setClientCookies attribute of the <cfapplication> tag should be set to "No",
and that you'd have to make sure that the CFID and CFTOKEN are always passed
to the browser (generally via form fields and on the URL).  This can be a
bit of a hassle, but people do it all the time when they need to maintain
state and cannot rely on the client having cookies turned on.

To allow the user to start a new session, you just need to create a link to
a page in your site that _doesn't_ pass the CFID/CFTOKEN.  When that new
page is sent to the browser, it will have a new CFID/CFTOKEN combination,
and hence a new session.

Let me know if this helps answer your question,
Bob

----- Original Message -----
From: "Athena Janiszewski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 8:04 AM
Subject: RE: [CFTALKTor] Session Variable


> Hello,
>
> The way I understand it, is if you open new browser windows by going to
> "file > new window" or ctrl+n, then whatever session variables exist for
the
> original browser window will carry through to the new ones. But if the
user
> actually goes to the browsers .exe - like re-launches another instance of
> the browser, then the session variables from the other browser window do
not
> get passed to it.
>
> Athena
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Kevin Brown
> > Sent: Wednesday, April 17, 2002 3:46 PM
> > To: [EMAIL PROTECTED]
> > Subject: [CFTALKTor] Session Variable
> >
> >
> > Can someone please correct me if I'm wrong.
> >
> > I thought Session variable were unique to each browser - it seems
> > that they are unique to each computer (computer user/login).
>
>
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: "Athena Janiszewski" <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)
>

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Bob Silverberg" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to