client.cftoken, "_" and client.hitcount. Once a purchase was completed
I reset the cart id by recreating it. Since the hitcount was different,
I got a new, unique cart ID pretty much automatically and maintained the
ability to tie it to a specific visitor.
I haven't done that in a *long* time, and I don't think I would do it
again. As has been pointed out, there are better ways to accomplish the
job of prepping a cart for re-use, plus ID'ing a computer isn't
necessarily the same thing as ID'ing a person. I only mention it in
case you are in a bind and need a fast solution, simply implemented.
--------------------------------------------
Matt Robertson [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
--------------------------------------------
-----Original Message-----
From: Butch Zaccheo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 11:28 AM
To: CF-Talk
Subject: Re: CFID Hell....
Thanx Barney... Looks like I�ll have make some changes to my code....
BZaccheo
On 5/12/04 11:13 AM, "Barney Boisvert" <[EMAIL PROTECTED]>
wrote:
> That's your problem. CFID and CFTOKEN are internal CF variables, they
are
> meaningless outside the realm of CF tracking visitors. I HIGHLY
recommend
> you quickly abort the practice of using them for anything in your
> application, and instead store a UUID (or whatever) in the session
scope
> when a session is created, and use that as your transaction ID.
>
> Cheers,
> barneyb
>
>> > -----Original Message-----
>> > From: Butch Zaccheo [mailto:[EMAIL PROTECTED]
>> > Sent: Wednesday, May 12, 2004 11:09 AM
>> > To: CF-Talk
>> > Subject: Re: CFID Hell....
>> >
>> > I use cfid and cftoken for an unique identifier for my
>> > shopping cart.... So
>> > with each new transaction I need a new identifier....
>> >
>> > On 5/12/04 11:03 AM, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
>> >
>>> > > But why do you care about that? CFID/CFTOKEN are how CF
>> > indentifies you. You
>>> > > should not need to worry about it. If all you care about is
>> > clearing the
>>> > > session, then just clear it. It doesn't matter if you keep
>> > the id/token.
>>> > >
>>> > >
>> >
>> >
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

