Sessions and Logins
| From: | Dennis Gearon | Date: | Fri, 03 Sep 2004 20:27:25 +0000 |
| Subject: | Sessions and Logins | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195778@lists.php.net to get a copy of this message | ||
Please CC me
-------------
I am designing my own 'usr' class that takes care of logins. I need
to know the following to finish it.
-------------------------------------------------------------------
A/ Does anybody use sessions for users who are not logged into the site, and why?
B/ If a user goes from unlogged in, unidentified user to a logged in, identified user, is the first session canceled and new session started?
C/ (The reverse), if a user goes from logged in, identified user to a unlogged in, unidentified user, is the first session canceled and new session started?
D/ How is it possible, using PHP4+ sessions, to cancel a session a page is opened with, and starting a new session?
thanks all of you. I **LOVE** using this PHP 'thang' :-)
Dennis