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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

