From: "Carsten Gehling" <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 9:31 AM
Subject: Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS
whenregister_globals = on


> From: "Alexander Feldman" <[EMAIL PROTECTED]>
> Sent: Friday, April 06, 2001 10:46 PM
>
> > Hm, very strange. You are absolutely right - I do not see any problems
as
> > well. Not only with the current cvs but with the older phps also... But
I
> > am sure I have seen some time ago exactly what was described by Carsten
> > Gehling. Maybe it is kind of group hallucination ;)
>
> Try this:

<snip>

Or this, which is slightly more interesting:

====================
<?php
session_start();
session_register("c");
echo "#".SID."#<br>";
$HTTP_SESSION_VARS["c"] = $HTTP_SESSION_VARS["c"] + 1;
var_dump($HTTP_SESSION_VARS);
?>

====================

On the first run, SID is displayed in the browser, but when reloading the
page, SID is empty.

As a side note: I run PHP 4.0.4pl1 as CGI on Win2k IIS5.

- Carsten



-- 
PHP Development 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