Re[2]: [PHP] storing passwords in $_SESSION

From: Date: Mon, 10 Oct 2005 18:47:39 +0000
Subject: Re[2]: [PHP] storing passwords in $_SESSION
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-223839@lists.php.net to get a copy of this message
Hi Jay, Monday, October 10, 2005, 7:36:12 PM, you wrote: > I would think it neither safe nor practical. Once a user has logged > in having the password in SESSION would be useless. Agreed totally, I am curious as to why this question seems to get asked a LOT though. I wonder what it is that causes this? (other than inexperience) I mean there must be some common end result these developers are hoping to obtain, resulting in a password being stashed away in a session var. I wonder if they're using it (+ a username) to perform a user look-up on every page? The mind boggles. Cheers, Rich -- Zend Certified Engineer http://www.launchcode.co.uk

« previous php.general (#223839) next »