Dale,

 

I believe it does… Are you having problems with it in onSessionStart?

 

 

Senior Coldfusion Developer

Aegeon Pty. Ltd.

www.aegeon.com.au

Phone: +613  8676 4223

Mobile: 0404 998 273

 


From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Dale Fraser
Sent: Thursday, 22 June 2006 10:39 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Clearing Cookies

 

We have this code in application.cfc, I know what it does but can anyone tell me if this would work in onSessionStart rather than onRequestStart

 

    <cffunction name="onRequestStart" returntype="boolean" output="false">

        <!--- Set Session Cookies To Expire When Browser Is Closed --->

        <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>

       

        <cfreturn true />

    </cffunction>

Regards
Dale Fraser

 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---


Reply via email to