note 43085 deleted from function.setcookie by tularis
| From: | tularis@php.net | Date: | Sun, 02 Jan 2005 14:15:22 +0000 |
| Subject: | note 43085 deleted from function.setcookie by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82575@lists.php.net to get a copy of this message | ||
Note Submitter: nobody at nospam dot com
----
If the user has cookies turned off (you can check for this by setting a cookie and then redirecting
to PHP_SELF?seen=1, for example), you can make a crude intimidation with WWW-Authenticate.
Ask the user to enter any username or password, and if the username is not already taken, you can
use the data sent by the browser on each page request as a crude form of session management
(probably with the aid of databases), where the user name and password contribute to the SID.
Hope this helps