Miguel Scaramozzino Posted March 1, 2016 Share Posted March 1, 2016 I'm having problems with a PW 2.7.3 instalation on PagodaBox. The user logins via backend or frontend and after a few page loads the user gets logged out for no apparent reason. I've tried both file and db sessions. Also at first I was using the LoginPersist module, but I also tried uninstalling it. Sessions seem to timeout about 60 seconds after login, sometimes they last only a few seconds. The exact same code doesn't show this problem on my development (Windows/Apache) and testing (Ubuntu/Apache) servers, but my PagodaBox production instances are constantly logging out the users. BTW I have 2 web instances, 1 mysql, 1 network storage (for site/assets) and 1 worker that processes the email queue in the background. I'm using PHP 5.6 with no strange extensions, just the usual ones (mysql, pdo, gd, curl, etc). Any ideas will be really appreciated! Link to comment Share on other sites More sharing options...
adrian Posted March 1, 2016 Share Posted March 1, 2016 Have you tried turning off (or adjusting) session fingerprinting? Here are the list of options: https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/config.php#L195 Obviously add the setting to your site/config.php though. 2 Link to comment Share on other sites More sharing options...
Miguel Scaramozzino Posted March 1, 2016 Author Share Posted March 1, 2016 I've set $config->sessionFingerprint to 0 and it's working perfectly now, thank you Adrian! 1 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