then use this:

<cfset session['spanish1#cfid##cftoken#'] = 1>

Still not sure why you wouldnt just use session.spanish1 as your var name. .
. ?

DRE

-----Original Message-----
From: Richard Crawford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11: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

Get the mailserver that powers this list at 
http://www.coolfusion.com

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

Reply via email to