I have never had this with older versions of EE but I just began working with the latest version, 4.3.6, and I keep getting automatically logged out of the control panel after saving changes to templates. I will click Save and wind up back at the login page. Sometimes when I attempt to log back in without refreshing the login page I get an error message "error: this form has expired. please refresh and try again."

I have found the proposed solutions to this problem for versions 2.X and have tried them but they have not worked. I have not seen any solutions specifically for the latest version.


  • Try to clean the cache of your web browser.
    – Stéphane
    Commented Oct 14, 2018 at 3:49
  • Thanks Stéphane. I have cleared the cache multiple times but that does not seem to help.
    – Mebner
    Commented Oct 14, 2018 at 23:31
  • 1
    Try in Incognito mode (Private Window) of Browser. Commented Oct 15, 2018 at 4:49

1 Answer 1


Ok, turns out the solution that seems to be working for me was to add $config[‘cp_session_type’] = “s”; to my config.php file.

Although I don't know if this creates some type of security risk.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.