|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-20 15:52 UTC] thibaud at phpnet dot org
I have just compiled PHP in CGI because it improves sharply the performances of my machine (load fall). On the other hand, I have a big probleme with the sessions. INDEED, when one makes a simple script : By going on the script with IE: The session is created well on the server but it is empty. (File of session empties). WHILE by going there with Netscape, it work. The script handled by php in module works perfectly under both navigators. I have heard about such a probleme but I did not find solution which works. More inquietant still (!) : I compiled as on 3 different servers and on two, it does not work while on the other whom has EXACTLY the same config php + apache + configure lines, it works!!! (http://80.245.32.147/phpinfo) You can consult the phpinfo of server who does not work on http://phph2.phpnet.org/phpinfo.php A simple script of session : http://www.phpnet.org/script.php work perfectly http://phph2.phpnet.org/script.php doesn't save the session ! Have you met the probleme? Please help me ! PS: I tried all the versions:) php 4.2.2 , 4.1.2 , 4.2.3.... And nobody works. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Apr 22 14:00:01 2026 UTC |
IF I add a sleep(2) before session_register("essai"); the session is normaly sauved. I test the lastest php 4.3* release....script.php : <?php $essai = "test"; session_start(); session_register("essai"); header("Location: script2.php?".session_name()."=".session_id().""); ?> script2.php : <?php session_start(); echo $essai; ?>