Remember, just because session.cfid = "" doesn't mean that it does not exist. Try structDelete(session,"CFID")
----- Original Message ----- From: "John Jonathan Kopanas" <[EMAIL PROTECTED]> To: "Fusebox List" <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 5:59 PM Subject: Sorry, stupid question because I am rusty : Sorry about this stupid question. I have been out of the CF world for over : two years and still making some stupid mistakes. I have the following : logout file: : : <cflock scope="SESSION" type="EXCLUSIVE" timeout="60"> : <cfset session.URLToken="nothing"> : <cfset session.CFID="nothing"> : <cfset session.CFToken="nothing"> : </cflock> : <cfapplication clientmanagement="No" sessionmanagement="Yes" : sessionTimeout="#createTimeSpan(0,0,0,1)#" : applicationTimeout="#createTimeSpan(0,0,0,1)#" setclientcookies="No" : setdomaincookies="No" name="#attributes.sessionName#"> : <cflocation url="index.cfm?fuseaction=admin.main" addtoken="no"> : : and for some reason it does not work. When I go back to login the session : it creates for me keeps the session.CFID and session.cftoken to nothing, : hence it keeps the old session and not the new one. I figured the session : would be expired and a new one would create reseting the session.CFID and : CFToken variables. Can anyone figure out where my logic, in my thought, is : wrong and if possible show me a better way to logout? Thanks. : : ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
