Thanks,  that is what I figured out ...great minds huh?

Thanks again
Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector - Commerce Builder


> A variable name cannot begin with a digit.  maybe you should put an append
an alpha character to the beginning of the cookie name.
>
> HTH,
>
> --
> Howie Hamlin - inFusion Project Manager
> On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
> inFusion Mail Server (iMS) - The Intelligent Mail Server
> >>> Find out how iMS Stacks up to the competition:
http://www.coolfusion.com/imssecomparison.cfm
>
> ----- Original Message -----
> From: "Paul Giesenhagen" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, February 01, 2002 4:09 PM
> Subject: cookie error
>
>
> > I am dynamically creating cookies and getting the following error.
> >
> > I create the cookie by setting a uuid, then strip out everything but the
> > first part of the uuid
> >
> > Example:
> > <!--- First set the id varable --->
> > <cfset variables.id = #createuuid()#>
> >
> > <!--- Next I set the cookie id, by stripping out everything from the
above
> > id except for the first set of numbers.  format is
> > XXXXXX-XXXXX-XXXX-XXXXX --->
> > <cfset variables.cookieid = #ListGetAt(variables.id, 1, "-")#>
> >
> > When i do that, I then set a cookie such as <cfcookie
> > name="#Variables.cookieid#" value="1">
> >
> > But then on another page, I check for that cookie and get the following
> > error.
> >
> > <cfif #IsDefined("cookie.#variables.cookieid#")# Is "Yes">
> > .....
> > </cfif>
> > Here is the error:
> > Parameter 1 of function IsDefined which is now "cookie.00A27221" must be
a
> > syntactically valid variable name
> >
> >
> > What is the syntax problem .. do cookie names not like either alpha or
> > numeric characters?
> >
> > Thanks
> >
> > Paul Giesenhagen
> > QuillDesign
> > http://www.quilldesign.com
> > SiteDirector - Commerce Builder
> >
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to