To be honest (and to answer Dave and Andre): I have absolutely no idea why 
the session variable contains the CFID and CFTOKEN numbers as part of the 
variable name.  None.  It certainly isn't how I would have done 
it.  Unfortunately the person who programmed it is no longer in our 
department so I can't pick their brain about it.

If Ian's hypothesis is correct, then wouldn't the problem clear up after 
the cookies were deleted all over again, and wouldn't I have the same 
trouble on our production website even after deleting cookies?

I've tried the suggestions of using square brackets around the variable 
name, which helped with one error, but unmasked another.

I've asked our lead programmer to come up with some ways to rewrite our 
code so that this problem doesn't crop up anymore.  So far it's only 
affected our in-house staff but I can see situations coming up easily in 
which it might affect our customers.


At 11:17 AM 7/31/2003 -0700, you wrote:
>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.

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