Best way to store login data?

From: Date: Sat, 15 Jun 2002 05:09:41 +0000
Subject: Best way to store login data?
Groups: php.general 
Request: Send a blank email to php-general+get-102315@lists.php.net to get a copy of this message
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

« previous php.general (#102315) next »