Re: secure cookies

From: Date: Mon, 14 Aug 2000 18:18:56 +0000
Subject: Re: secure cookies
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-11659@lists.php.net to get a copy of this message
hi, use md5 $cookievalue = md5(username +" " + ID); so its easy for you to check if the cookie is valid by comparing the cookie-value with your md5-result . _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ viva technologies _/ gstrein andreas "Always listen to the experts; they'll tell you what can't be done and why. Then do it." - Robert A. Heinlein Is there any opinion on how to pass usernames and ID's securely in a cookie? Prefer to NOT use mcrypt if possible. Any pointers or articles would be most appreciated. -- Lewis Bergman Texas Communications 4309 Maple St. Abilene, TX 79602 915-695-6962 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#11659) next »