BobInVa
-
Posts
2 -
Joined
-
Last visited
Posts posted by BobInVa
-
-
Hello,
Perhaps someone can help with this. I've set up the login and logout system and everything works perfectly, all the Paypal sandbox stuff, everything. The logout works with the logout link. My problem is it also logs me out when I click Home or Knowledge is Power. I'm not sure why, maybe the session is being destroyed but I don't see where. My site is hosted on GoDaddy.
Selling Virtual Products Login/logout
in Effortless E-Commerce with PHP and MySQL (2nd Edition)
Posted
Thanks Larry. I fixed it. The problem was in index.php. Under require('./includes/config.inc.php'); I had
$_SESSION=array(); so I was clearing out the session data. I commented it out and now working perfectly.