Warning: this method should not be used, because

1) Some browsers don't like to hold large cookies
2) Bandwidth overhead is created with each page request
        as these large cookies are sent from the browser
        to the server on each page request.

<CFWDDX ACTION="CFML2WDDX" INPUT="x" OUTPUT="y">
<CFSET cookie.somecookie = y >

A better way would be to use clinet vars, which only set two small cookies
on your browser, and save all large data on the server side.

<CFWDDX ACTION="CFML2WDDX" INPUT="x" OUTPUT="y">
<CFSET client.somecookie = y >

-Cameron

--------------------
Cameron Childress
elliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

> -----Original Message-----
> From: Bernd VanSkiver [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 22, 2001 10:48 AM
> To: CF-Talk
> Subject: Cookie Structure
>
>
> Is there a way to have a Structure in a cookie?
>
> =====
> Bernd VanSkiver
> [EMAIL PROTECTED]
> ColdFusion Developer
> ICQ UIN: 916324
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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