|
|
|||||||
|
Hi there i'm trying to make a javascript game. In the game the user has a choice of 6 multiple choice questions. What I am trying to do is set a cookie on the users machine with their name and score stored in the cookie. So next time they clear the game and take it again i want the cookie stored on the machine to be read and have both the previous and current score compared ie "you did better than last time" or "you did not do as well as last time". Any help would be great cheers. |
||||||||
|
|
|||||||
|
cookies can be wiped by the user, and normally have a restricted life span of a few days hours or weeks, i suggest a database ![]() this also means you can have a highscore table n have much more fun
|