note 15350 added to ref.session
| From: | jsherri1 at rochester dot rr dot com | Date: | Thu, 06 Sep 2001 14:18:41 +0000 |
| Subject: | note 15350 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17725@lists.php.net to get a copy of this message | ||
This is pretty obvious, but good to remember: the SID constant can be output using <?=SID?> or
'echo SID', but not with 'print "SID"'.
You can set a normal variable to the value of that constant to access it within print statements.
Keep this in mind if you are designing pages that later may require non-cookie-using session
management.
http://www.php.net/manual/en/ref.session.php