Welcome Guest, Not a member yet? Register   Sign In
Session class only work on localhost...
#8

[eluser]toopay[/eluser]
Quote:That sounds quite unbelievable, unless the time on that server is off by almost a day…

Sucks. At first, I was thinking that there is something wrong with the CI session class, since all worked fine when I test on the local computer. Until I tried make a file in my host, to test, with this simple line :

Code:
setcookie("AreYouOK", "No, CI Session class reduce my sleep hours", time()+7200);

And i still can't create cookies (unless i set expiration time above '80000' or just simply '0').

My host is the real problem, and this is not the first time. At least, thats avoid me to rewrite all the function that contain session class.


Messages In This Thread
Session class only work on localhost... - by El Forum - 12-21-2010, 07:31 PM
Session class only work on localhost... - by El Forum - 12-21-2010, 07:49 PM
Session class only work on localhost... - by El Forum - 12-21-2010, 10:52 PM
Session class only work on localhost... - by El Forum - 12-22-2010, 01:54 PM
Session class only work on localhost... - by El Forum - 12-22-2010, 03:22 PM
Session class only work on localhost... - by El Forum - 12-22-2010, 03:55 PM
Session class only work on localhost... - by El Forum - 12-23-2010, 04:05 AM
Session class only work on localhost... - by El Forum - 12-23-2010, 10:24 AM
Session class only work on localhost... - by El Forum - 12-23-2010, 10:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB