Dear All,
I have just started working in php,
I have a problem in redirecting session variables which is lost and not able to retrieve the session variable in the redirected page.
I am posting the code below., Could someone please help me to fix the problem. I am using php 4.3.9 and apache 2.0.52.
Thanks in advance.
CallHeader.php
<?php
global $clientMachine ;
$clientMachine = "appadurai" ;
session_register(clientMachine);
header("location:CheckGlobal.sgp");
?>
CheckGlobal.php
<?php
session_start();
echo "MACHINENAME $clientMachine";
?>





Bookmarks