So, basically you have a conditional that says if cookie is not defined set
cookie to a unique_id?
I wrote the following test:
<cfcookie name="USER_ID" value="test">
<cfoutput>
Cookie = #USER_ID#
<br><br>
</cfoutput>
<cfcookie name="USER_ID" expires="NOW">
<cfoutput>
Cookie = #USER_ID#
<br><br>
</cfoutput>
the output looks like this:
Cookie = test
Cookie =
So it looks like you can still refer to the cookie even though it has
expired and is empty. In the past with similar problems I have changed my
code to not only check to see if the cookie is defined but also to see if
the cookie has a value in it. If it does not have a value where I expect
it to be then I go ahead and give it the value I want it to have. In your
case it would be a unique ID.
Try this....change theconditional to say:
cfif isDefined('cookie')
or cookie eq ''
Hope this helps....
kaigler
----------------------------------------
At 10:07 AM 2/2/2001 -0500, you wrote:
>I am using an AbleCommerce store which my client is trying to use as an
>order entry system. In other words, the order takers are taking phone and
>mail in orders. They are actually inputting the orders into the Web store.
>The problem is that, since they are inputting the orders from their own
>local PC the cookie is getting created on their PC and not changing between
>orders. So, the same USER_ID is being used for each order and differnt
>customer information is being recorded in the same customer record in the
>DB.
>
>I have tried to delete the cookie between each order so CF doesn't see the
>cookie on the next order and will create a new unique USER_ID. But I can't
>seem to get the cookie off the hard disk. I am not even sure if the cookie
>is being deleted from the browser environment either.
>
>I am using:
>
><cfcookie name="USER_ID" expires="NOW" domain=".thedomain">
>
>I have turned on CF debugging to see variables and the HTTP_COOKIE always
>has the same info in it.
>
>Does anyone know the trick to this? I have even written a little program to
>actually delete the cookie file off the PC. But, what happens is that, the
>cookie info is still in the browser session and is picked up by AbleCommerce
>and used again on the next order.
>
>Thanks to anyone with any solution,
>
>John "eating cookies for breakfast" Cesta
>
> > -----Original Message-----
> > From: Vonancken, Curt (NCI) [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 02, 2001 9:41 AM
> > To: CF-Server
> > Subject: SSL force
> >
> >
> > Hey all, this might be an easy one but I have always done it
> > other ways till
> > now. I am interested in wether there is a way (maybe through cfcontent) to
> > force a page to be read as an SSL page? What are my alternatives here?
> > Thanks in advance,
> > Curt
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com