note 15417 added to ref.session
| From: | bester at php2 dot chek dot com | Date: | Sun, 09 Sep 2001 21:35:57 +0000 |
| Subject: | note 15417 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17850@lists.php.net to get a copy of this message | ||
Instead of just using a session ID to validate the user, try storing a session variable containing
the user's password as well (Using MD5 encryption, of course :) ). Then, write yourself a
simple (seperate) script that you can use to validate the user, and which you can include (
include("./thisfile.php"); ) in your scripts.
http://www.php.net/manual/en/ref.session.php