This question pops up occasionally:
I’ve migrated all my bolt site to a new production server. The last piece of the puzzle is I keep getting logged out of bolt after a very short period of time. Is there a setting somewhere that controls this?
Glad you asked! Especially if you're behind a proxy or a VPN, you might have troubles with Bolt's strict session management.
There are three settings in your
app/config/config.yml to make this less strict:
Try setting these to false, starting with
Additionally, if you're moving servers, make sure you haven't accidentally copied over incomplete session data from the old location. To make sure, clear out the
app/cache/ folder, and especially
app/cache/.sessions (it's often hidden). Finally, truncate the
bolt_authtoken table in your database.
After these, you should be able to log in just fine.