I working on a rather complex database cgi program and i've never done much work with 
user logins. Ideally I woudl love to set up a secure login which will verify passwords 
aggaints data stored in an SQL table. The modle I wish to use ie below. The area I 
need help with is the proper way to set and retrieve secure cookies.

retrieve pw:login from form.
compare to stored password.
if match encrypt a string which is stored in the database then set the same string as 
a cookie with date and IP.
use this cookie to authenticate each subsiquent page until logout.
 can someone point me to a good how to ?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to