I need to make a pretty easy 'wishlist' for an online-catalog. Because the site has no login system, the wishlist should be available until the user is on the site. I would save some infos as a json string, and because of the amount of products on the page, this wouldn't be too large.
So my question would be, what would be the best solution to store this data?
- PHP Session variable
- Cookies
- localStorage
- DB? (this would be good if we want to use the data later, but in this case what data would be the best to identify the current session?)
Every idea is welcome.