On Aug 12, 5:41 pm, "Michael Price" <m...@edwardrobertson.co.uk> wrote: > If, however, I submit an AJAX post request to add a product to the shopping > cart on this site, it doesn't work. Investigating the AJAX behind this shows > that two copies of every cookie named above is being sent - the first copies > have older and now incorrect data in them, and are followed by the CORRECT > data. Looks a bit like this:
If i'm not mistaken, this has to do with the path the cookies are set for (i had a similar problem). Make sure that ALL of your cookie-set() operations are using the same options for setting the cookie.