Re: Best way to store login data?

From: Date: Sat, 15 Jun 2002 06:06:40 +0000
Subject: Re: Best way to store login data?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102317@lists.php.net to get a copy of this message
Hi I would suggest you use a DB for the logins and use the id Avoid using cookies use sessions that way u have nothing on the client end Pradeep ----- Original Message ----- From: "Leif K-Brooks" <eurleif@buyer-brokerage.com> To: <php-general@lists.php.net> Sent: Saturday, June 15, 2002 10:39 AM Subject: [PHP] Best way to store login data? > I have a site with logins. I am planning to recode logins soon (right > now the username and password are stored in cookies with no encoding). > In your opinion, which of these is a better idea: > 1. Storing in two cookies with md5 encoding for the password > 2. Use sessions > 3. Store logins in a database, and put an id from there into a cookie > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#102317) next »