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