Jump to content

Session Duration Issues in WHMCS: Session Expires Immediately


Recommended Posts

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.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated