ID: 25906 User updated by: thxmike at hotpop dot com Reported By: thxmike at hotpop dot com -Status: Bogus +Status: Open Bug Type: Session related Operating System: Windows 2000 Professional PHP Version: 4.3.3 New Comment:
I spoke to soon. It appears to be a problem related to one of two things. It is either the Web Server. The problem does not occur on a Apache web server which my friend is running here http://www.anthong.com/MRivera/index.php. It does occur on a IIS web server which I am running locally on my laptop. It can either be the php.ini or the Web server. Sorry to inconvenience you. Any assistance is appreciated. I can send you to updated code to verify if need so. Previous Comments: ------------------------------------------------------------------------ [2003-10-20 22:34:03] [EMAIL PROTECTED] not a bug (-> bogus) ------------------------------------------------------------------------ [2003-10-20 22:32:06] thxmike at hotpop dot com I have figured out the problem. Definately User Error. Sorry for all the trouble. Thanks again for all your help ------------------------------------------------------------------------ [2003-10-20 22:25:31] thxmike at hotpop dot com I have posted it on a friends site. Here is the URL http://www.anthong.com/MRivera/index.php ------------------------------------------------------------------------ [2003-10-20 15:46:32] thxmike at hotpop dot com OK, I do not show the same errors that you are seeing. I have made the changes that you specified but I am still getting the same problem. The $_SESSION Array is not staying populated if I go from the HOME link to another link on the screen. I also noticed that you are using Apache. I am using IIS. Not sure if this makes a difference Since I am not seeing the errors that you are. It may also be a problem with my PHP.ini file. I can send an updated version of the site and the ini file to so you can see what I am seeing. Also you stated that the session_start() has to be the first line. This concerns me especially if I am using objects. It clearly states on your web site that if I am using objects the class definitions have to be defined before session start. Any assistance you can provide is appreciated. Please let me know where to send the updated site information. Thank you. ------------------------------------------------------------------------ [2003-10-20 03:37:22] [EMAIL PROTECTED] Your script is broken: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/htdocs/test2/main.php:3) in /www/htdocs/test2/main.php on line 10 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/htdocs/test2/main.php:3) in /www/htdocs/test2/main.php on line 10 Array ( [temporary] => temporary ) 'session_start();' has to be FIRST line and no output is allowed before it. (unless you have output_compression enabled) ------------------------------------------------------------------------ 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/25906 -- Edit this bug report at http://bugs.php.net/?id=25906&edit=1