I have a fully working site, log in, members area, sessions etc.
We are moving the site to a new server and the temporary site is on a secured page.
Now, the session variables are not pulled into the members page.
To check the session variables where being set properly.
I used :
Code: Select all
print_r($_SESSION);They are all set properly.
On the members page:
Code: Select all
print_r($_SESSION);
if(!isset($_SESSION['username']) | !isset($_SESSION['password'])) {
mysql_close();
exit();
}