Re: [PHP]: session problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



do you get any output on the second page if you do this? 

<?php

session_start();

print '<pre>';
print_r($_SESSION);
print '</pre>';

if ( isset($_SESSION['logged_in'])){

echo "Welcome...";

}else{
	  header("location: user.php?action=9");
}
?>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux