yeinorvcr Posted September 18, 2024 Share Posted September 18, 2024 Hi, I am experiencing an issue with session duration in my WHMCS installation following a migration from one server to another using cPanel. Every time I perform an action or navigate to a new section, the session appears to expire immediately, redirecting me to login.php. This happens even though the session configuration in php.ini and phpinfo() seems correct. I have checked the following: session.gc_maxlifetime is set to 1440 seconds. The session directory (session.save_path) has the correct permissions. Cookie settings (session.cookie_lifetime, session.cookie_path, etc.) are properly defined. The WHMCS installation is in a subdirectory, and I’ve confirmed that SystemURL is correctly configured to https://MYDOMAIN.com/whmcs. However, the problem persists, and I’m wondering if there might be another factor causing this behavior. Has anyone experienced a similar issue or have any suggestions on how to resolve it? Any help would be greatly appreciated. Thank you in advance. 0 Quote Link to comment Share on other sites More sharing options...
websavers Posted October 4, 2024 Share Posted October 4, 2024 Are you seeing the actual session files being created in the session directory/session.save_path? Are you seeing them being removed as well? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.