SID set or unset?
| From: | Jean-Christian IMbeault | Date: | Wed, 10 Sep 2003 03:41:34 +0000 |
| Subject: | SID set or unset? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162132@lists.php.net to get a copy of this message | ||
Is the PHP constant SID always defined? I have found conflicting answer in the documentation. One page of the docs says it is always defined while another says it is defined only if the right cookie hasn't been passed to the server.
Also how can I check if the SID is set or not?
I have tried the following but get an error:
<?php
if (isset(SID)) {}
?>
Parse error: parse error, expecting
T_VARIABLE' or '$''
Thanks,
Jean-Christian Imbeault