Sessions Expire Almost Instantly
-
Hello all,
I’ve been having this issue on a new WordPress site. I can login without any issues, however, when I try to submite a post I am taken to a login screen again. Then I get caught in a loop of loging in and attempting to post. If I can do it fast enough (less than 8 seconds), I am able to eventually make the post. Otherwise I am taken to a page that says “Are you sure you want to do that?” If I am writing a post and change tabs, even for only an instant, I am told that my session has expired and that I need to login again. Checking the “Remember Me” option doesn’t change anything. I have searched the forums for answers several times, nothing does the trick.
Here are things that I have tried:
- Changing the WordPress Address (URL) and Site Address (URL) from an IP Address to https://site.com and then to https://www.site.com
- Clearing cache and cookes
- Verifying that cookies are enabled
- Verifying that Chrome can see the cookies, it can and I can see when they are created. When I wait for a moment, then refresh, the cookie gets deleted.
- Tried different browsers: Chrome, FireFox, IE
- Reformatted the server, installed WordPress fresh, and reinstalled theme.
- Disabled all plugins
- Installed plugin that changes timeout
- Tried different theme
- Tried editing several WordPress config files
- Tried using patches from the forum
I promise that I have searched the forums for answers as much as I could. I found several articles that had people with similar issues. Most tell you to change the URL info in General Settings, this did not solve my issue.
One post I read was here if you go to page two @xilinxchic had the same issue, but the topic was closed before she was answered. I may have the same issue.
If it helps, I am running WordPress 4.1.1 on DigitalOcean (LAMP Ubuntu 14.0 WordPress image) The only changes made to the config files there was that I commented out that block where it makes the admin page a restricted area. You can read about that here (see: Removing the Additional Apache Password Prompt for Admin Areas.)
I am fine with anything that solves this issue, hack or not.
Thanks!
- The topic ‘Sessions Expire Almost Instantly’ is closed to new replies.