Hello,
I have a site that works fine on the development site, but when header(‘Location: .’); is called on the production site, all session variable seem to be lost and it sends the user back to the login page. Sample code is, after doing an insert (which works fine), the index.php calls:
header(‘Location: .’);
exit();
It “logs out” from that. Other processes in the index.php call an include statement and those work fine. It’s all the header statements the log the user out.
Any suggestions?