ID: 27480 User updated by: ricardo at aganp dot go dot gov dot br Reported By: ricardo at aganp dot go dot gov dot br -Status: Feedback +Status: Open Bug Type: Session related Operating System: SUSE 8 PHP Version: Irrelevant New Comment:
we don't compile php by source. We're using the RPM version that cames with operacional system. It's very difficult to compile a source version because we're using 64 bits and we need to remake many linkings. Previous Comments: ------------------------------------------------------------------------ [2004-03-06 14:05:38] [EMAIL PROTECTED] Are you using output buffering and can you verify the error with latest CVS? ------------------------------------------------------------------------ [2004-03-03 09:35:42] ricardo at aganp dot go dot gov dot br I have a PHP file name top.php where I open the postgre conection and start the session. Another php file name button.php where I close my postgre conection. This two files are put into all my php files. The first one, top.php, on the top of my index.php and the button.php on button, like this: top.php <? pg_connect($param) session_start(); ?> button.php <? pg_close($con) ?> index.php <? include "top.php"; HTML include "button.php"; Every the first time a load this index.php file, I need to refresh this page and all the contents of my html are show. If I do not refresh the page I got a blank page. However, if I delete the session_start() the page works normally. Itīs very difficult to change the php version here, whe are a big corporation. But, as I said we have an older version 4.0.4pl1 at another computer end it works perfect. ------------------------------------------------------------------------ [2004-03-03 08:04:12] [EMAIL PROTECTED] Also, upgrade to atleast php 4.3.4 first. ------------------------------------------------------------------------ [2004-03-03 08:03:49] [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. ------------------------------------------------------------------------ [2004-03-03 07:56:43] ricardo at aganp dot go dot gov dot br Description: ------------ When session.start() PHP document is loaded at the first time itīs necessary to refresh the page to view the contents. We are using the PHP version 4.0.4pl1 before this new version 4.2.2 and this problem not happened. There is some BUG on this 4.2.2 PHP Version about session? How can I solve my problem? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27480&edit=1