Re: storing passwords in $_SESSION
| From: | Oliver Grätz | Date: | Mon, 10 Oct 2005 22:25:53 +0000 |
| Subject: | Re: storing passwords in $_SESSION | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223867@lists.php.net to get a copy of this message | ||
Dan Brow schrieb:
> Thanks, figured that would be the case. Can't for life of me think why I
> wanted to do that, must have had a brain infarction. I want to have an
> expired session prompt so people can log back in with out having to
> start at the login page. Would having the users login saved in $_SESSION
> be alright? prompt them for their password and compare it with the
> password in the DB be fine? I want to reduce the amount of typing
> someone has to do when a session expires.
Why don't you leave the decision if they want to type to the user?
My browser keeps track of what I entered into every login form I ever
visited...
AllOLLi
____________
"We'll draw straws. They're coming. We don't have time to argue about
who gets to risk their life."
[Locke on LOST 124]