Dec 19 2007
cf admin api
Cookie name “CFAUTHORIZATION_SPLAT SPLAT” is a reserved token
The error occurred in administrator.cfc: line 116
Today I ran into a weird bug in the cf admin api, if you attempt to perform a login such as this:
<cfscript>
loggedin = createObject(“component”,”cfide.adminapi.administrator”).login(‘dsafdsafsad’);
</cfscript>
It will bomb with the above error if your application name contains a space, the error is slightly different whether you use Application.cfc or <cfapplication> style.
The fix, thanks to Barney is to remove the space.
Hi there,
I am running into the same issue. May I know how do you remove the space? Thanks!
Error Message:
The string COOKIE.CFAUTHORIZATION_Yuni Test CFC is not a valid ColdFusion variable name.
you go change the application name