I've created a website in which user can play videos and songs. Now i want to let the user know which songs or videos he/she has already played before. For this i used Persistent cookies.
- but if the user played too many songs then how can i store the information of every song in cookie?
- Should i use a new cookie every time user plays a new song/video? if Yes then how can it be done? Because if i do so then there would be a large number of cookies created. If No then whats the alternative?
- Is use of cookies is the right way to accomplish this goal?
I've not used cookies before so I'm confused.