Re: Storing password in cookie
| From: | Richard Lynch | Date: | Sat, 09 Apr 2005 02:16:12 +0000 |
| Subject: | Re: Storing password in cookie | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212689@lists.php.net to get a copy of this message | ||
On Fri, April 8, 2005 5:18 pm, Computer Programmer said:
> What is a better way to store password in a cookie?
>
> md5()?
> base64_encode()?
> mhash()?
> mcrypt_generic()?
> crypt()?
D) None of the above.
You only think you need to store a password in a Cookie.
You don't.
Use sample code from http://php.net/session_start instead
--
Like Music?
http://l-i-e.com/artists.htm