note 5353 modified in ref.session by yohgaki
| From: | yohgaki@php.net | Date: | Sat, 19 Jan 2002 06:12:41 +0000 |
| Subject: | note 5353 modified in ref.session by yohgaki | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25083@lists.php.net to get a copy of this message | ||
If the User has disabled cookies but you have included the Constant SID in your URL, you are able to
provide Session ID
--was--
If the User has disabled cookies but you have included the Constant SID in your URL, you are able to
provide Session ID´s to both kinds of Users - the ones with and the ones without cookie-enabeled
browsers.
Just try
<?PHP
session_register ("foo");
$foo++;
echo $foo;
?>
<p><A HREF="userhandler2.php?<?=SID?>">click here</A>
Turn cookies ON and then OFF
Session works with both states.
http://www.php.net/manual/en/ref.session.php