Strange 500 Error being thrown on itermittent basis

This is one of those errors that basically drive me insance because I have trouble reproducing it and have personally never seen it myself.

I’m not even sure really how to debug this or what it means. Is there some kind of failure on determining whether a session has been assigned or whether the browser has a user-agent string? Is there some setting in Coldfusion Administrator that I need to tweak?

It’s a 500 error with this message:

cannot convert the value " " to a boolean

The error reporting shows the following:

        The error occurred in

C:\inetpub\wwwroot\farcry\core\Application.cfc: line
51

Called from C:\inetpub\wwwroot\farcry\core\Application.cfc:
line 37
Called from C:\inetpub\wwwroot\farcry\core\Application.cfc:
line 1

Are you seeing this error while browsing the site, or is it showing up in
logging / error emails?

Which version of Core are you running?

My guess is that if something has scanned your site and has set non-boolean
values for “cookie.sessionScopeTested” or “cookie.hasSessionScope” then
this could happen, but it shouldn’t happen under normal browsing.

That said, the code could use a tidy up :slight_smile: