I have my code (session) working in one server and not working on the other server.
File name : a.php
<?php
session_start();
session_register("my_var");
$my_var="hellow world";
?>
<html>
<a href="b.php">Proceed</a>
</html>
File name : b.php
<?php
session_start();
echo "$my_var";
if(empty($my_var))
{
echo " I am blank";
}
?>
<html>
<a href="a.php">Back</a>
</html>
In one server www.ezwebsitz.com, the above file b.php prints the variables but on other server www.ezsitz.us i am not able to get the variables.
PHPINFO of the server can be had from this below link...
(session works fine)
http://www.ezwebsitz.com/phpinfo.php
(session does not work)
https://www.ezsitz.us/phpinfo.php
What are the additional code to be added to make session working at www.ezsitz.us