Dec 19 2007

cf admin api

Published by jfrank at 4:43 pm under coldfusion

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.

No responses yet

Trackback URI | Comments RSS

Leave a Reply