Control Panel Session 60 second Timeout I’m on Craft v. 2.6.2983 and am encountering the well flagged issue of the control panel logging me out after 60 seconds. I've tried most of the solutions posted here and have had no success in resolving the issue.

We're three months into a Craft deploy this issue has only begun to arise in the last number of weeks. 

I’m using redis for session storage and my sessions are remembered when I refresh or open a new tab. Using redis-cli monitor I can see sessions are being stored with the correct TTL. 

I've set the following in my config/general.php:

'appId' =&gt; 'itmaapp123',
'defaultCookieDomain' =&gt; '.itma.ie',
'validationKey' =&gt; [REDACTED],
'overridePhpSessionLocation' =&gt; 'tcp://redis:6379',
'cacheMethod' =&gt; 'redis',
'userSessionDuration' =&gt; false


I've also set the relevant variables in config/rediscache.php (including timeout => 300).

Any insights on what might be causing the issue? My stack is Craft 2.6.2983 on nginx with php7.0-fpm and redis for session storage. nginx, php and redis are all running in docker containers behind an nginx reverse proxy. I'm using Cloudflare with SSL for cache and CDN.

Any help much appreciated.
I've had issues before where I was getting logged out and could not fathom why: it turned out (after weeks) that when I was using Inspector Tools' Responsive Design mode, Chrome sends different UA strings... which by default causes Craft to log the user out.

It's a long shot; but see if you're only experiencing the issue when you've got your inspector open and in mobile device simulation / responsive design modes.

The fix for me was to add the following to config/general.php

'requireMatchingUserAgentForSession' =&gt; false, // stop Craft logging you out of the CMS while using Chrome's "Device Mode" view for responsive development