Re: Session Management problems [LONG]

From: Date: Mon, 03 Jul 2000 08:00:49 +0000
Subject: Re: Session Management problems [LONG]
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4461@lists.php.net to get a copy of this message
At 01:28 PM 7/3/00 +0530, you wrote: >one thing in this issue .... >can i print the value of PHPSESSID.... i cant seem to get the value of it >.. every i write $PHPSESSID it gives a null string .. Nah, you'll have to use session_id() to get the session id, or the macro SID to get the string you can add to a url.. like this: ---8<-- <?php session_start(); echo session_id()."<br>\n"; echo '<a href="'.$PHP_SELF.'&'.SID.'">test</a>'; ?> ---8<---

« previous php.general (#4461) next »