The cookie you created called user can be used just like any other
variable - from anywhere within your application just call #cookie.user#.
HTH
*************
Diana Nichols
Webmistress
http://www.lavenderthreads.com
770.434.7374
"One man's magic is another man's engineering." ---Lazarus Long
-----Original Message-----
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 1:11 PM
To: CF-Talk
Subject: cookies and keeping track of ID
Hello cf-talk,
I have an application I'm working on that uses code from FX
password. This is used to password protect a directory. I have not
used cookies before, but noticed that the code in FXpassword sets a
cookie:
<CFCOOKIE NAME="Password" VALUE="good">
this is used to check for the value of good for access to cfm pages
in the DIR.
So, is there a way that i can also add the primary key of ID for
that user also, this way I can access his information from page to
page??
Do I need to set a whole new cookie?
<CFCOOKIE NAME="USER" VALUE="#ID#">
If so, then how do I call for it and get the user ID??
I realize I may not even be close here, and therefore can't expect
anyone to give me a tutorial on cookies, but anyone know any web
resources on CF cookie usage? I do have BF WACK but think I need to
read more before this sinks in.
Best regards,
Jeff Fongemie mailto:[EMAIL PROTECTED]
------------------------
Internet Guns For Hire
(603) 356-0768
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists