Session problem
| From: | Rosen | Date: | Thu, 31 Mar 2005 09:31:23 +0000 |
| Subject: | Session problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-211943@lists.php.net to get a copy of this message | ||
Hi,
I have this code :
========
page1.php:
<?
$nfo["fu"]="12";
session_start();
session_register(nfo);
$sn=session_name();
$nn=session_id() ;
$web="page2.php?lang=en";
$web.="&$sn=$nn";
header("Location: $web");
?>
===============
page2.php:
<?
session_start();
global $nfo;
$uss=$nfo["fu"];
echo $uss; //// HERE $uss is empty!
?>
This script works on several linux servers, but on one doesn't work (
variable $uss in page2.php has no value ).
I think this may be problem with PHP configuration on this server ( I don't
have root password for this server ).
Have someone idea where may be the problem ?
Thanks in advance!
Rosen