Re: [PHP] Best way to store login data? From: Pradeep Dsouza (php <email protected>)
Date: 06/15/02

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 <email protected>>
To: <php-general <email protected>>
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
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php