ID:               20524
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Session related
 Operating System: Mandrake et Redhat
 PHP Version:      4.3.0-dev
 New Comment:

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;
?>


Previous Comments:
------------------------------------------------------------------------

[2002-11-21 17:37:49] [EMAIL PROTECTED]

We need to see your code, please put the sources of those
scripts available too.

And DO NOT add comments to your own bug report, update the status and
version information when they change!


------------------------------------------------------------------------

[2002-11-21 02:21:48] [EMAIL PROTECTED]

IF I add a sleep(2) before session_register("essai");
the session is normaly sauved.
I test the lastest php 4.3* release....

------------------------------------------------------------------------

[2002-11-21 01:41:42] [EMAIL PROTECTED]

I have try IT yesterday and .... the probleme is the same !

http://phph1.phpnet.org/script.php

please help me

------------------------------------------------------------------------

[2002-11-20 16:26:17] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

------------------------------------------------------------------------

[2002-11-20 15:52:54] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20524&edit=1

Reply via email to