Menu
I am trying to create a javascript page where a user enters a username and password and that username and password gets saved as a cookie. If they come back to the page later on i need them to enter the same name and password and it needs to match the name and password they put in before if they do not get it right within three tries then they are able to enter a new name and password that will be saved as a cookie as well. I have gotten as far as saving the username and password as a cookie but i do not know how to validate the name and password once it is saved as a cookie. Can anyone help?