Just to give some background on what's happening, because something similar
happened to us.

At some point your CFID & CFTOKEN where changed from simple integers
(CF4.5/5) to UUID's (CF5/MX).  But the way your code is set up, anybody who
already had the old style CFID and CFTOKENs assigned to them, would keep
them and continue to work, but new people (or somebody who cleaned out all
his cookies so that they looked like a new person) got the new style that is
killing your code.

The trouble is the opposite is also happening.  During your testing people
who got the new style by resetting their cookies are still having problems,
they will keep having then until their cookies are again deleted.

But it likes like changing all your IsDefined references to StruckKeyExists
methods will help this.


--------------
Ian Skinner
Web Programmer
BloodSource
Sacramento, CA


-----Original Message-----
From: Richard Crawford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 10:10 AM
To: CF-Talk
Subject: RE: The Ongoing Saga of the Dead Session Variable


At 12:59 PM 7/31/2003 -0400, you wrote:


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

Well, yeah.   Heh.  My bad.  It's been running CFMX just fine for a few 
months, but 4.5 prior to that.


>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.

Per Isaac's suggestion and per yours, I both turned off the option to use 
UUID for cftoken and replaced the isdefined with structkey.  This worked at 
this line, but I received a fresh error message:

    * Error message: The string 
"session.spanish1202d2ad76445536e6d-AFD6A182-F39D-EBCE-9A2A2E3A0ED188C5" is 
not a valid ColdFusion variable name. Valid variable names must start with 
a letter, and can only contain letter, numbers, and underscores.


The offending code is this:

<cfset "session.spanish1#cfid##cftoken#" = 1>


I tried turning "use UUID for cftoken" back on but got the same error
message.

I'm guessing that this is probably a client-side problem rather than a CF 
problem, but I am still at a loss...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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

Reply via email to