adrianmak Posted June 29, 2015 Posted June 29, 2015 Let say, keep login session for a day, a month or a year like I'm afraid the official back-end sign-on does't provide such facility. Or how could I modify to support it ?
LostKobrakai Posted July 8, 2015 Posted July 8, 2015 It's most likely not as easy, as everybody gets a session with the lifetime defined in the config.php. Only the session id gets regenerated on login, but the session per se stays the same.
adrianmak Posted July 8, 2015 Author Posted July 8, 2015 After studying core files, I'm thinking of writing a module to override isValidSession and login hook in wire/core/Session.php
Wanze Posted July 9, 2015 Posted July 9, 2015 Doesn't this module provide the functionality you need? http://modules.processwire.com/modules/login-persist/
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