ID:               20776
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Session related
 Operating System: Win2K Server
 PHP Version:      4.2.3
 New Comment:

Iliaa,

My reply of 2 Dec 9:17pm contains a small script which demonstrates
this fault. Don't know what else you want here. If you run this, you'll
see "Dead session!!". Thus either session_register() or isset() is
misbehaving compared to versions prior 4.2.3

<?

session_start();
session_register("SESSION");

if (! isset($SESSION)) { echo("Dead session!!<br>"); }

?>


Previous Comments:
------------------------------------------------------------------------

[2002-12-07 01:24:07] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Please use $_SESSION autoglobals rather then register_session to assing
values to the session & if the problem persists please include a SMALL
script in your reply.

------------------------------------------------------------------------

[2002-12-04 20:40:02] [EMAIL PROTECTED]

"If a man isn't a socialist at 20, he has no heart; if he is
still a socialist at 40, he has no mind."

Rob

------------------------------------------------------------------------

[2002-12-04 05:12:40] [EMAIL PROTECTED]

hmm... maybe Sniper should start charging for support then; he would
make a very decent living out out it with all the time he spends on
verifying bugs and trying to help people with bugs. 

------------------------------------------------------------------------

[2002-12-04 04:52:02] [EMAIL PROTECTED]

Sniper,

I have spent hours cutting out 90% of this program, removing libraries
called, writing a script to autoinstall the tiny test database, written
installation instructions and supplied two different versions of the
main page - one which works, one which does not - and cut the whole
thing down to six actual php files. Not twenty or even ten. And I
finished doing that at 5:00am today, as you know.

Some problems can't be reduced to 12 lines of code. In this case, the
login has to come from two different pages and go to another one, that
makes at least three files. The fourth is a library, which you can
safely ignore. The fifth is a logout script, without which you can only
test it once. The sixth is a file included globally in each of the
others to cut down verbosity.

If this is too complex, perhaps you expect me to actually fix your bugs
for you. Sorry, I charge AU$100 an hour for that nowadays, having
already paid my dues on a number of large GPL projects.

Keep the bug, I don't mind.

------------------------------------------------------------------------

[2002-12-04 01:51:01] [EMAIL PROTECTED]

And DO NOT REPLY TO THIS EMAIL!! And especially: DO NOT email me! 

You can put such long examples somewhere in the net and add an URL here
so that other people see it too..


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20776

-- 
Edit this bug report at http://bugs.php.net/?id=20776&edit=1

Reply via email to