> Ok, I need a refresher here. I want to delete all session information
> on browser close. What is the best way to handle this since the
> session info is stored on the
server?
The best way is to add the following code in your Application.cfm
<!--- if user closes browser end session --->
<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>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7.
Free Trial. http://www.adobe.com/products/coldfusion
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270433
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4