02-19-2008, 10:04 AM
|
#1 (permalink)
|
|
The Contributor
Join Date: Nov 2007
Posts: 27
Thanks: 2
|
encoding cookie content
I want to accomplish a shopping cart that is storing its content in the database and setting a cookie.
This cookie needs to be refered to the shopping cart, even if the visitor comes back the orginal shoppingcart still excist just like Amazon, so a php session_id is not the best solution?
The question is, what values needs the cookie to be? I can set the shooping cart ID, only that is not really safe. It needs to be encoded somehow. Someone good advise about the smartest/safest solution?
|
|
|
|