Babar Shahzad Chaudary
2010-09-29 02:40:13 UTC
session_start();
$_SESSION['msg'] = $_POST['test']; // $_POST['test'] has value
header('Location: ./test.php'); //test.php also contains session_start() statement
if(isset(
$_SESSION['msg']))
{ print 'set'; } else
{ print 'not-set'; } //prints not-set
?>