There's a CGI header called HTTP_COOKIE which contains all the cookies. You 
can treat it as a list and loop through it deleting each as you go.

<CFLOOP list="#cgi.http_cookie#" item="i" delimiter=";">
         <cfcookie name="#listfirst(i, "=")#" value="" expires="NOW">
</CFLOOP>


At 02:22 PM 8/2/01, you wrote:
>How do I kill all cookies at once?
>
>Thanks,
>Steve
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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