My code:
File1.php
<?php
session_start();
$_SESSION['name'] = 'ABC';
?>
File2.php
<?php
session_start();
if(isset($_SESSION['name'])
{
echo "Session Set";
}
else
{
echo "Session not Set";
}
?>
When I try to run first file "file1.php" and then "file2.php" in Firefox, session value showing correctly at file2.php
But then if I try "file2.php" in IE the session value is not showing there.
How can I fix this issue.
Any help would appreciated.
Thanks in Advance.