[cgiapp] Safe way to remember user login?

Lyle webmaster at cosmicperl.com
Tue Jan 13 14:23:36 EST 2009


Hi All,
  I know a lot of sites have a check box for "remember me" or what not. 
But I'm trying to figure out a safe way to do this. Saving the username 
and password in cookies wouldn't be secure, so I guess some kind of 
cookie ID. But then once you display the login form you'd be writing out 
the password into the <input type=password value=XXXX>, which isn't 
secure either as someone could view source and grab it.

I'm guessing this kind of thing has come up for a lot of people on this 
list, care to share a solution?


Lyle



More information about the cgiapp mailing list