Many thanks to all who replied.

It seems that Elliot's code is the winner - it worked a treat!

Cheers,
Phil.


----- Original Message ----- 
From: "Elliot Russo" <[EMAIL PROTECTED]>
Newsgroups: cfaussie
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 9:51 AM
Subject: [cfaussie] Re: Multiple Independant Browser Session


> Hey phil,
>
> you just need session based cookies (CFID,CFTOKEN are persistent by
> default), and IE must be opened directly each subsequent instance not from
> the menu of a current instance.
>
> This after the cfapplication tag will make sure the cfid/cftoken tags are
> session cookies not persistant cookies
>
>
>  <cfparam name="sCfid" default="">
>  <cfparam name="sCftoken" default="">
>
>  <Cfif isdefined("cookie.cfid")>
>   <CFset sCfid   = cookie.cfid>
>   <CFset sCftoken  = cookie.cfToken>
>  </cfif>
>
>  <cfcookie name="CFID" expires="NOW">
>  <CFcookie name="CFToken" expires="NOW">
>
>  <CFcookie name="CFID" value="#sCfid#">
>  <CFcookie name="CFToken" value="#sCftoken#">
>
> Elliot
>
> "Phil Evans" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > Hi All,
> >
> > I have a CFMX intranet application where the users wish two run two
> > distinct, independant browser sessions from the one PC. The application
> > relies on session variables, and so settings made from one browser
session
> > are impacting the other, and causing havoc.
> >
> > Is there any way to do this successfully?
> >
> > Options I have considered are:
> >
> > 1. Running one session in IE and the other in Netscape
> >
> > 2. Having two copies of the source code, with different application
names
> > specified in the cfapplication tags.
> >
> > 3. Somehow trying to set the application name as a variable
> >
> > Options 1 and 2 are not ideal, and I can't figure how to make option 3
> work.
> >
> > Any thoughts appreciated.
> >
> > Thanks,
> > Phil.
> >
> >
> >
> >
> >
>
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to