I have a shopping cart that uses cfid and cftoken as identifiers for
customers.  When they get to the end of placing the order, I have the
following code to kill the variables:

<CFSET STRUCTCLEAR(APPLICATION)>
<CFSET STRUCTCLEAR(SESSION)>
<CFLOOP INDEX="X" LIST="#GetClientVariablesList()#">
        <CFSET DELETED = DELETECLIENTVARIABLE("#X#")>
</CFLOOP>
<CFCOOKIE NAME="cfid" EXPIRES="NOW">
<CFCOOKIE NAME="cftoken" EXPIRES="NOW">
<CFCOOKIE NAME="cfglobals" EXPIRES="NOW">

However, since this is done on the secure server
(https://myserver.hostdomain.com/clientdir) and the variables were set on
the client's domain (www.clientsite.com), it doesn't kill the ones that were
set at www.clientsite.com, and when you return to the site, the variables
______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to