To kill session vars upon browser close:

<cfif IsDefined("Cookie.CFID") AND IsDefined("Cookie.CFTOKEN")>
  <cfset cfid_local = Cookie.CFID>
  <cfset cftoken_local = Cookie.CFTOKEN>
  <cfcookie name="CFID" value="#cfid_local#">
  <cfcookie name="CFTOKEN" value="#cftoken_local#">
</cfif>

Just put it in your application.cfm file.



>Hi,
>
>there was a post to show how to kill the session variables when user close
>browser.
>I can not find it, does any one know how to kill the session variables when
>user close browser.
>The post was show how to kill the session variables in application.cfm
>
>Thank you very much
>
>
>Yungchih
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to