I have all the ini_set variables correctly set for a 30 day cookie, the Session_cookie_params is the same way, yet everything I do still has the session cookie expiring when the browser closes. Any help here?
Asked
Active
Viewed 117 times
1 Answers
0
Make sure to set session_cookie_params before starting your session.
See here: Is possible to keep session even after the browser is closed?
-
That's the thing. It is set properly, and yet I get this problem. – psion Feb 09 '12 at 02:06
-
Instead of using the session, trying using your own cookies. – jjs9534 Feb 09 '12 at 02:08