> When users to our site (running CFMX (with Updater 3 applied) 
> on top of JRun 4 (sp 1a applied) on top of Apache 2.44 with 
> a SQL Server 2000 backend -- ew) happen to clear their cache 
> and cookies while logged into our site, they can never log in 
> again. I must point out that this is a newly discovered behavior, 
> and our site has been working fine for years.

It hasn't been running on CFMX for years, though, right? Was it on CF 5 or a
previous version earlier?

> Unfortunately, not much has changed, except that I've got our 
> custom error page spitting out more info. The specific error 
> that I've got now is this:
>     * Parameter 1 of function IsDefined, which is now 
> "session.spanish1202d2ad76445536e6d-AFD6A182-F39D-EBCE-9A2A2E3
> A0ED188C5", must be a syntactically valid variable name
> In the actual page (which is Application.cfm), this is what 
> the code looks like:
> 
> cfif isDefined("session.spanish1#cfid##cftoken#")
> 
> I don't know what could have happened to all of a sudden make 
> this variable name syntactically invalid. I should point out 
> that we have this same code in dozens of other places, working 
> just fine.

In CF 4 and earlier, the values for CFID and CFTOKEN were always numeric, I
think. In that case, the above code would work fine. In CF 5, an option was
introduced to allow the use of a UUID for CFTOKEN, instead of an integer.
That's what you're showing in your error message. In CF 5, to enable this
option, you had to edit the registry (or cf.registry on Unix). In CFMX, this
option is exposed in the CF Administrator.

You can probably work around this by changing your code to look like this:

<cfif StructKeyExists(Session, "spanish1#cfid##cftoken#")>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to