The following code worked with CF 5.0

<cfset cookieArray=cfhttp.responseHeader["set-cookie"]>
<cfset session.RPCFID = #ReplaceNoCase(GetToken(cookieArray[1], 1, ";" ),
"CFID=", "")#>
<cfset session.RPCFTOKEN = #ReplaceNoCase(GetToken(cookieArray[2], 1, ";"
), "CFTOKEN=", "")#>

When processed on CF MX 6.1 it throws the following error.
"Element set-cookie is undefined in a CFML structure referenced as part of
an _expression_."

The following code is located in CFAPPLICATION

<CFAPPLICATION name="Baker"
     CLIENTMANAGEMENT="Yes"
     SETCLIENTCOOKIES="Yes"
     SESSIONMANAGEMENT="Yes"
     SESSIONTIMEOUT=#CreateTimeSpan(0, 2, 0, 0)#
     APPLICATIONTIMEOUT=#CreateTimeSpan(0, 2, 0, 0)#
>

Any suggestions on what changes to make?

Thanks,

Nick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to