CFAS 4.5.1 is apparently treating:

<cfset result = StructClear(session)>
<cflocation url="index.cfm">

differently than CFAS 4.0.1

because the above followed by the following:

<cfif not isDefined("session.rollCount")>

        <cfset session.rollCount = 1>
        
        <cfcookie name="isOn" value="testing">
        <cfset session.addToken = session.URLToken>

<cfelse>

<!--- Check to see if cookies are on. If no, make a query string variable 
with the CFID and CFTOKEN. --->
        
        <cfset session.addToken = iif(not 
isDefined("cookie.isOn"),       DE("#session.URLToken#"), DE(""))>

</cfif>


in application.cfm now throws an error (Session.URLToken is not defined) in 
4.5.1 whereas it did not throw an error in 4.0.1

Any suggestions?

best,  paul


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to