For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > June 2004 > Re: [PHP-DB] [PHP]: session problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] [PHP]: session problem
Matt Matijevich

2004-06-24, 3:55 pm

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");
}
?>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com