-1

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?

psion
  • 748
  • 1
  • 6
  • 17

1 Answers1

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?

Community
  • 1
  • 1
jjs9534
  • 475
  • 2
  • 7