Yes.. I was doing it before the cfapplication statement.. That is fixed
now.. But I'm still not clear about the client variables in the CFDATA
table... When I delete all the client variables... How does and when do the
records get removed completely?

Thanks

-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2003 11:55 AM
To: CF-Talk
Subject: Re: Client Variable in application.cfm


My login stuff is cvar-based and handled in application.cfm too.  Are you
doing your login tests before the cfapplication statement?  Code sample?

-------------------------------------------
 Matt Robertson,     [EMAIL PROTECTED]
 MSB Designs, Inc. http://mysecretbase.com
-------------------------------------------


---------- Original Message ----------------------------------
From: Tim Do <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 24 Jun 2003 10:09:38 -0700

>Hello all,
> 
>What I'm trying to do is log the users out if they close their browser 
>window.  I have a client variable set for the jsessionID after the user 
>logs in and in application.cfm checking whether that client var equals 
>to the current jsessionID.... why does application.cfm not know what 
>the client variable is?  This worked before when all my variables were 
>sessions.. now I moved them all to client variables and this doesn't 
>seem to work anymore... It only works now if I move the logic to my 
>index.cfm and checking it there and logging the user out if the client 
>var and the jsessionid are different.. any ideas?
> 
>Also... when I delete all the client variables like
>DeleteClientVariable("browserSession") it deletes the data field in the 
>CFDATA table... how would I delete the whole record when a user logs 
>out?
> 
>Thanks,
>Tim
> 
> 
> 
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to