> Despite having used CF for 2 years, only know am I venturing into using
> CFCOOKIE. I have a couple of questions:

BTW, a couple is 2 - you asked 4 questions <g>
Example, when you say "Look at that married couple", you don't look for 4
people, do you?

> - How can I make sure the browser has cookies enabled?

The only way is via a second page;
Set a permanent and a temporary cookie on a page, then push to another page
(with META REFRESH or JAVASCRIPT) and check for their existance

> - How much can I store in them?

Not fantastic ammounts - I prefer to use them as a reference to a database
entry, then you can store whatever you want!

> - Presumably I can encrypt / decrypt the contents?

It's a variable, so you can do whatever you want with them...

> - Any pitfalls I should look out for (other than CFLOCATION on the same
> page)...

People sometimes have their cookies set to "Choose" - if they do, then you
might get them, but then again, you might not...

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to