Welcome Guest, Not a member yet? Register   Sign In
PHP sessions expire after X minutes
#2

Since your sess_save_path is set to NULL in your config, the sessions are being stored in the path defined by php settings (session.save_path).

You may consider changing this to a path you control and have access to.
There may be some server process cleaning this folder periodically.

I would set sess_expiration and sess_time_to_update to 0 for testing purposes, and change the sess_cookie_name to something else.

Also, check your cookie settings as these may also affect session behavior.
Reply


Messages In This Thread
PHP sessions expire after X minutes - by peter - 05-01-2019, 04:45 AM
RE: PHP sessions expire after X minutes - by adamoli - 05-02-2019, 06:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB