Hi,

I want to store data for anonymous users, such as the contents of a shopping
cart.

When the user comes to the site a script will look for a path contained in a
cookie. If this cookie present then any 'add to basket' forms will post to
it and any requests to show the basket will pull content from this path.

If the cookie is not present then a new unique path will be created for this
user and the cookie will be returned in the response.

Another way I can see it working is the basket contents is
stored entirely on the client side in a cookie.

Can anyone give me any pointers on best practices of how to
store anonymous user data?

Regards

Ben Short

Reply via email to