Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
I have my site setup so that when you order something it pops up a confirm box asking if you would like to add that item to your cart, and then when you click yes or ok it adds a product="prodID" to teh cookie where "prodID" = that products unique ID in the db.
Now here comes the problem, when I try to write multiple entries to that single cookie named product it only shows me the last prodID added, i'm trying to work around this so that the cookie product could contain all the prodId's of any product selected.
Maybe the final outcome the cookie would look like
product=12321,12312,34235,23523 etc etc.
Looked around can't seem to find anything to get me started, like i said i have the confirmbox, and its pulling the id from the db, just not sure how to add more data to the end of a cookie entry.
Any help will be quite appreciated, thanks