I’ve migrated PHP web application to a new server and are encountering issues with session persistence. Users are experiencing frequent logouts and session data seems to vanish unexpectedly. Our setup uses PHP 7.4 on an Apache server.
So Far:
- I verified
session.save_path
is writable and accessible. - I checked cookie settings and confirmed headers are sent before outputs.
- Ensured no session_id regeneration occurs unexpectedly.
Could this be related to specific server settings or PHP configurations that differ from our previous environment?