You should use a scripting Language like PHP, Python or even for that. HTML can't do stuff like proces the form, store cookies or pass variables from one page to another which is needed fo this kind of stuff.
I'd advise you(that is if you use PHP), you should use PHP session variables which are secure as compared to cookies stored on the client which can be easily manipulated.
For this kind of job, without the code for the page, we can't direct you along the lines you should be following.
Or if you want it done by someone else, you can post in the forum to ask someone to do it for you.
Last edited by Redcoder; 10-19-2012 at 10:04 PM..