ID: 20776 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Win2K Server PHP Version: 4.2.3 New Comment:
OK, I've sent a cutdown of the program, hope that helps. Previous Comments: ------------------------------------------------------------------------ [2002-12-03 07:31:53] [EMAIL PROTECTED] I've already reported a crashing bug against 4.3.0RC2 so I won't be trying any CVS snapshots just yet. See what I can do about a sample script, but it may be a couple days since I'm working in about 6 hrs. ------------------------------------------------------------------------ [2002-12-03 02:34:40] [EMAIL PROTECTED] Please provide a short but complete example script which can be used to reproduce this. Also note that PHP 4.3.0-dev (the latest stable CVS snapshot) has some fixes regarding session issues so you should try it out too, from: http://snaps.php.net/ ------------------------------------------------------------------------ [2002-12-02 21:17:17] [EMAIL PROTECTED] At top of login page: session_start(); session_register("SESSION"); if (! isset($SESSION)) { echo("Dead session!!<br>"); } >From a direct <a href> style link I get "Dead session!!" at the top of the page. From a redirect via require_login() (see below) it works. Sure looks like a bug to me. ------------------------------------------------------------------------ [2002-12-02 19:23:14] [EMAIL PROTECTED] I would have thought that code with two results depending on the how the return path is acquired would definitely imply a bug, or am I missing something obvious here? I have a ton of programming experience (including proprietary systems similar to but more complex than PHP) but I'm very new at PHP itself so you may be right. ------------------------------------------------------------------------ [2002-12-02 18:44:38] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. ------------------------------------------------------------------------ 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
