GetSimple Support Forum
Login cookies don't work on remote server - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Login cookies don't work on remote server (/showthread.php?tid=2289)



Login cookies don't work on remote server - enliven - 2011-10-18

I can login to my getsimple install on my local machine (localhost)
but i can't login to the install on my remote server
The reason is because the login cookies are refusing to be set upon login
if I change the code in login_functions.php to setcookie('GS_ADMIN_USERNAME', $USR) or die("I couldn't create the login cookie"); it always dies

it isn't my server because i'm running a different site in a different directory under the same domain and cookie work fine in that site without any problems

This is really frustrating, can someone please help!