Session problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux