#20776 [Fbk]: Login only possible from page where login is required.

From: Date: Wed, 04 Dec 2002 07:51:03 +0000
Subject: #20776 [Fbk]: Login only possible from page where login is required.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26591@lists.php.net to get a copy of this message
ID: 20776 Updated by: sniper@php.net Reported By: judd@ob-wan.com Status: Feedback Bug Type: Session related Operating System: Win2K Server PHP Version: 4.2.3 New Comment: 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.. Previous Comments: ------------------------------------------------------------------------ [2002-12-04 01:49:45] sniper@php.net I did mean _SHORT_ example script, one that is max 10-20 lines long..not some 10-20 files! ------------------------------------------------------------------------ [2002-12-03 12:00:23] judd@ob-wan.com OK, I've sent a cutdown of the program, hope that helps. ------------------------------------------------------------------------ [2002-12-03 07:31:53] judd@ob-wan.com 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] sniper@php.net 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] judd@ob-wan.com 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. ------------------------------------------------------------------------ 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

« previous php.bugs (#26591) next »