Hi Magento-Community!
We are experiencing random logouts on some webs - mostly on a specific installation, that uses Shibboleth (SAML). The phenomenon does not seem to be limited to this web - it happens a lot on Magento 2 installations. We already reved up the Session-Timouts, php-Timouts and everything we found. My client complains about logouts every 10 minutes or so - we could not find out why this happens, we noticed it randomly.
Any suggestions?
You can just set session time to 31536000 in your Admin panel,
Login with backend,
Stores -> Configuration -> Advacned -> Admin
Security Tab and set value 31536000 to Admin Session Lifetime (seconds) field.
Also,
If you want to share your Admin panel with multiple users you need to set Yes for Admin Account Sharing field.
Save changes and check.
From your Magento 2 - Backend admin panel increase the Admin Session Lifetime.
Goto stores -> configurations -> Advanced -> Admin -> Security -> Admin Session Lifetime (seconds) -> increased it up to - >31536000
Also could you please confirm you are using single credentials and password to logged in on all the devices ?
If yes then you also need to update setting on the same location called Admin Account Sharing option to YES
Thanks for your fast reply and your suggestions.
We already did that:
Lifetime is on 31536000
Sharing Option is Yes
Logouts still occured.
@fritzves - okay i understand ,
So do you have integrated any caching mechanism with server - like redis cache or memcached or anything ?
if yes , could you please share what exactly you have integrated ?
@Manthan Dave - no, it's just a standard LAMP server configuration and Magento installation.
Probably it doesn't relate to that, but as frontend template we are using Fastest Template from Codazon:
http://magento1.codazon.com/fastest/intropage.html
But the backend is still the Magento one.
Furthermore, the logouts occuring during the normal backend operations (view, edit orders, customers etc.) and not only after some period of inactivity.
@fritzves - okay i got your point.
so might be it is due to this theme.
you can do one thing as of now for testing purpose change this theme to Default Luma theme.
Then check it still logged out - if yes then we will trouble shoot more on this
Did you find a solution to this issue. We are also experiencing same issues with our magento. it would great if you could share the fix you found. Thank you