Thanks for the immediate assistance. The problem was that I needed to use
the PATH directive

So, while this *wasn't* deleting the cookie:

<cfcookie name="USER_ID" EXPIRES="NOW"  domain=".thedomain.com">

This one does the trick:

<cfcookie name="USER_ID" EXPIRES="NOW" path="http://www.thedomain.com"
domain=".thedomain.com">


I know that the PATH directive is in the docs but it is listed as OPTIONAL.
For my app it is REQUIRED.


John "caught with my hand in the cookie jar" Cesta



> -----Original Message-----
> From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 02, 2001 10:36 AM
> To: CF-Server
> Subject: Re: cookies revisted...
>
>
> I have not used AbleCommerce before so I don't know if there is a setting
> you can change for that behavior, however since the early days of the
> browser when you write a cookie from a given directory structure
> in a given
> domain, only a script run from that same address can access the
> cookie. This
> is a security feature so that you can not read cookies from other website
> that a user has visited. Shoot an email to the folks at AbleCommerce they
> may have a solution to your problem.
>
> ----- Original Message -----
> From: "John Cesta - Lists" <[EMAIL PROTECTED]>
> To: "CF-Server" <[EMAIL PROTECTED]>
> Sent: Friday, February 02, 2001 9:07 AM
> Subject: cookies revisted...
>
>
> >
> > 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

Reply via email to