You are here: Session problem « PHP « IT news, forums, messages
Session problem

Posted by Rosen on 03/31/05 12:31

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация