Re: $PHPSESSID on PHP 4.1.0
| From: | Tom Rogers | Date: | Tue, 18 Dec 2001 03:39:10 +0000 |
| Subject: | Re: $PHPSESSID on PHP 4.1.0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78036@lists.php.net to get a copy of this message | ||
Hi
One way is <?echo session_id()?> or if cookies aren't used try <?=SID?>
$PHPSESSID seems to only get set if it comes back as a cookie
Tom
At 04:39 AM 18/12/01, Julio Nobrega Trabalhando wrote:
Hi All, I have a few scripts using $PHPSESSID to softly disable cookies requirement on some pages. I just installed PHP 4.1.0 and I am porting some lines to adapt to the new version. If I do this: <?php echo $PHPSESSID; ?> It doesn't show nothing at all. Did something changed, does this var now have a new name, some new way to access it? Thanks for any help, -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net