BFD Calendar Posted October 12, 2019 Share Posted October 12, 2019 Since a few weeks I have problems staying logged into ProcessWire admin. Behaviour is quite random, sometimes I can't even edit one field without being sent to the login page. Sometimes I manage to stay logged in for a few minutes, sometimes longer. It happens with different browsers, computers, operating systems. On same computers my other sites work fine. ProcessWire 3.0.98 at https://www.birthfactdeathcalendar.net Link to comment Share on other sites More sharing options...
dotnetic Posted October 12, 2019 Share Posted October 12, 2019 Please read Link to comment Share on other sites More sharing options...
BFD Calendar Posted October 12, 2019 Author Share Posted October 12, 2019 4 hours ago, Jens Martsch - dotnetic said: Please read This doesn't make any difference. Link to comment Share on other sites More sharing options...
dotnetic Posted October 12, 2019 Share Posted October 12, 2019 What did you write into your site/config.php? Link to comment Share on other sites More sharing options...
BFD Calendar Posted October 13, 2019 Author Share Posted October 13, 2019 /** * sessionExpireSeconds: how many seconds of inactivity before session expires * */ $config->sessionExpireSeconds = 172800; /** * ADDED - session.cookie_lifetime: how many seconds of inactivity before cookie expires * */ ini_set('session.cookie_lifetime', 86400); /** * sessionChallenge: should login sessions have a challenge key? (for extra security, recommended) * */ $config->sessionChallenge = true; /** * CHANGED - sessionFingerprint: should login sessions be tied to IP and user agent? * * More secure, but will conflict with dynamic IPs. * */ $config->sessionFingerprint = 2; Link to comment Share on other sites More sharing options...
dotnetic Posted October 13, 2019 Share Posted October 13, 2019 Try setting it to off "$config->sessionFingerprint = 0;" and see if you experience any differences Link to comment Share on other sites More sharing options...
BFD Calendar Posted October 14, 2019 Author Share Posted October 14, 2019 Apparently the setting takes time to settle in. Two days later I'm not logged out at random anymore. Fingers crossed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now