> 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-9A2A2E3
> A0ED188C5" 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...

No, it's still a CF problem. I'm not sure why you're bothering to embed the
CFID and CFTOKEN into a specific session variable anyway, but you can
reference these variables like this:

<cfset Session["spanish1#cfid##cftoken#"] = 1>

Whenever you want to use a name for a variable that isn't really a valid
variable name generally, you can use this syntax.

As for why it's still happening, changing the option won't affect clients
that have already received a CFTOKEN cookie containing a UUID.

You might also consider rewriting these cookies as session cookies, so that
they'll expire when the user closes the browser.

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

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