Not necessarily. The Session variables are tied to the CFID and CFTOKEN,
which are Cookies on the client's machine. If the user comes back to your
site before the Session variables expire they'll still exist.

There are ways to get the CFID and CFTOKEN cookies to be deleted when the
browser is closed. Check the archives.

> -----Original Message-----
> From: FlashGuy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 09, 2002 9:14 AM
> To: CF-Talk
> Subject: RE: <cfcookie and <cfset SESSION.variable =
> 
> 
> What if someone just closes IE?
> 
> On Wed, 9 Oct 2002 09:01:38 -0400, Everett, Al wrote:
> 
> > <cfset temp=StructClear(Session)>
> > 
> > > -----Original Message-----
> > > From: FlashGuy [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, October 09, 2002 8:29 AM
> > > To: CF-Talk
> > > Subject: Re: <cfcookie and <cfset SESSION.variable =
> > > 
> > > 
> > > Whats the best way to clear ALL session variables when a user 
> > > logouts or closes IE?
> > > 
> > > 
> > > On Wed, 09 Oct 2002 08:25:19 -0400, FlashGuy wrote:
> > > 
> > > > Nevermind...I got it to work.
> > > > 
> > > > Thanks
> > > > 
> > > > On Wed, 09 Oct 2002 08:22:42 -0400, FlashGuy wrote:
> > > > 
> > > > > On Wed, 9 Oct 2002 08:02:24 -0400, Jon Hall wrote:
> > > > > 
> > > > > > Is your session variable getting updated? If not, 
> there is your
> > > > > > problem, if so, then the problem lies in some part of 
> > > the program that
> > > > > > is not using the session variables value, or not using 
> > > it correctly.
> > > > > > If the app works using just cookies, then switching 
> to session
> > > > > > variables shouldn't be a problem in and of itself.
> > > > > 
> > > > > Yes...I didn't change the line that was calling in the 
> > > cookie. Now I get an error in my application saying that that 
> > > it can't resolve the parameter SESSION.VariableName
> > > > > 
> > > > > Do I have to set it, maybe in my application.cfm to be 
> > > "Nil" at first?
> > > > > 
> > > > > > I'm not sure how secure your app needs to be, but 
> > > storing paths like
> > > > > > that on the client in a cookie sounds very insecure. If 
> > > I altered the
> > > > > > cookie with the list of paths to include c:\, could I 
> > > get a listing
> > > > > > of that directory? Sounds like to me this variable 
> > > should definitely
> > > > > > be a session or client scoped variable.
> > > > > 
> > > > > This is strickly a intranet app.
> > > > > 
> > > > > > -- 
> > > > > > jon
> > > > > > mailto:[EMAIL PROTECTED]
> > > > > > 
> > > > > > Wednesday, October 9, 2002, 7:40:05 AM, you wrote:
> > > > > > 
> > > > > > F> HI,
> > > > > > 
> > > > > > F> I'm getting a little confused with <cfcookies and 
> > > <cfset SESSION.varaible ="">. My application was using 
> > > <cfcookies and it seemed to work fine. I was reading in a 
> > > > field 
> > > > > from my 
> > > > > > F> database which was a comma delimited field of 
> > > directories on my hard drive. This was then put into a 
> > > cookie. I have a template that allows the user to add or 
> > > remove 
> > > > > > F> directories for viewing in their navigation window 
> > > (tree list). Any changes made from the template would be 
> > > saved to the database and the cookie would be 
> > > > updated. 
> > > > > > 
> > > > > > F> The problem I'm experiencing now is I changed all my 
> > > <cfcookie calls to use <cfset SESSSION.variable = ""> and 
> > > when I add/remove a directory and click my 
> > > refresh 
> > > > > button it 
> > > > > > F> won't update my navigation (tree list) frame until I 
> > > actually close my IE and start it back up again. Then the 
> > > appropriate directorie(s) don't appear which where 
> > > > > added/remove 
> > > > > > F> from my template.
> > > > > > 
> > > > > > F> How can I make this "update" appear by refreshing? 
> > > Do I *have* to use cookies in my case?
> > > > > > 
> > > > > > 
> > > > > 
> > > > 
> > > 
> > 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to