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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to