Sessions and phplib.
| From: | Vincent M. | Date: | Tue, 18 Feb 2003 04:21:00 +0000 |
| Subject: | Sessions and phplib. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135943@lists.php.net to get a copy of this message | ||
Hello,
I am using the phplib just for the sessions management and unfortunately this projects seems dead (no?), no official realise using the php4 session support.
What's more, i am looking for a sessions library which could check the IP adress of users not only the cookie. In case of bad hats steal cookies...
What I use in my current code is:
page_open(array("sess" => "SIOVA_Session", "auth" => "SIOVA_Challenge_Auth", "perm" => "SIOVA_Perm"));
$perm->check("user");
page_close() ;
$auth->auth["perm"] == "admin" ;// and others privilege checks...
$sess->delete() ;
$auth->unauth();
$auth->logout();
etc...
What do you think I should use instead of the phplib, do you think I should change what I use at this time which works full well :-/
I do want to use a library checking the cookies AND the IP adresses...to do something more secure.
Thanks for you advises,
Vincent.