Jump to content

Can't stay logged in


BFD Calendar
 Share

Recommended Posts

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

/**
 * 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...