Are you using <cflocation> in the same script that you set the cookie? If
so, this is your problem. <cfcookie> will not work when followed by
<cflocation>. Yu should use a javascript redirect or meta refresh instead.


> -----Original Message-----
> From: Jason Egan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 06, 2000 3:12 PM
> To: Cf-Talk
> Subject: grrr... cookies~
> Importance: High
>
>
>
> I have a cart setup fusebox style... when you select order it
> runs the main
> template, calls aps_globals first (containing cfapplication) -
> then runs the
> script to add the item to the cart... then cflocation to the cart contents
> so you can see what is in your cart... for some reason the item added
> vanishes.
>
> After closer inspection I have found that the cookie isn't being written
> until the main cart/contents page is added.  What I'm thinking is the item
> is being added to the session query, then the cookie is written -
> overwriting that session variable or something.
>
> Something else that is interesting... I've found the cfid/cftoken's aren't
> right...
>
> see... I display cftoken/cfid on the page, and in the URL that
> forwards you
> back to the cart contents after it adds the item... they are different!
>
> Now, if I go back to the site and add another item it works fine... all of
> the time, until I delete my cookie and restart my browser... then
> the EXACT
> same thing happens!
>
> What is going on here!!
>
> je
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to