note 43616 deleted from function.session-id by tomsommer
| From: | tomsommer@php.net | Date: | Sun, 22 Aug 2004 00:05:15 +0000 |
| Subject: | note 43616 deleted from function.session-id by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75077@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at phplanet dot co dot uk
----
If you want to shorten the code you have you can use the SID constant. However, if you don't
have it for some reason like I didn't use this little snippet...
<?php
define("SID", "PHPSESSID=".session_id()."");
?>