Re: Storing password in cookie

From: Date: Mon, 11 Apr 2005 16:05:30 +0000
Subject: Re: Storing password in cookie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-212805@lists.php.net to get a copy of this message
Computer Programmer wrote:
What is a better way to store password in a cookie?
This is one of the worst ideas people have, and if I'm guessing the reasoning behind your question correctly, this will help: http://fishbowl.pastiche.org/2004/01/19/persistent_login_cookie_best_practice Keep in mind that cookies are included in a Cookie header within each request that satisfies the criteria specified in a previous response's Set-Cookie header. This means that cookies are exposed on every single request, which can mean many times per page (embedded content such as images are often served from the same domain). Hope that helps. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/

« previous php.general (#212805) next »