I am creating a log in system and have a "remember me" chcekbox. Right now I am creating username SESSION variable when ever a user logs on and creating both the username SESSION variable and a password COOKIE variables when this box is checked
So protected pages will check for the presence of these variables on a cold visit. If they exist, they will use them to check the DB and log the user in if all is correct
Something is telling me its a bad idea to set a cookie with a users password in it but I am not finding any info out there that tells me not to.
Anyone care to comment?
Thanks,
billy