#16807 [Com]: Sessions not working

From: Date: Tue, 27 Aug 2002 10:38:30 +0000
Subject: #16807 [Com]: Sessions not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17928@lists.php.net to get a copy of this message
ID: 16807 Comment by: vvhotk@mail.bg Reported By: martin_jones@bigfoot.com Status: Closed Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: It's not only if there's a empty line before <?php I've got a line importing a .css file and when I moveed it - the problem went away :-) Previous Comments: ------------------------------------------------------------------------ [2002-05-30 06:50:03] mfischer@php.net Original reporter said it's fixed in 4.2.1, closing. ------------------------------------------------------------------------ [2002-05-28 19:36:08] toth_andor@hotmail.com funnily enough when i turned register globals OFF everything was allright and i could reach all session vars through the HTTP_SESSION_VARS array but i can't access register globals here at this web server since i only have phpmyadmin what should be done when register globals is on ------------------------------------------------------------------------ [2002-05-15 08:30:07] martin_jones@bigfoot.com There are no blank lines in the script. The first line is <?php Anyway - with the release of 4.2.1, this problem no longer occurs on my system. The problem appears to be fixed and this bug can be closed. ------------------------------------------------------------------------ [2002-05-15 05:10:47] keithauyeung@proactive.com.hk I think the following should help. before the statement "<?php", is there any blank line above it?If yes, delete the blank line and I think the problem will be solved. Hope this help!! ------------------------------------------------------------------------ [2002-05-06 20:31:05] bs_php@infeer.com Please check following: I hade the same error because of spaces (or CR or TAB) *befor* the first use of <?php ! Did you check that? ------------------------------------------------------------------------ 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807&edit=1

« previous php.bugs (#17928) next »