adrianmak Posted June 29, 2015 Share 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 ? Link to comment Share on other sites More sharing options...
adrianmak Posted July 8, 2015 Author Share Posted July 8, 2015 nobody know? Link to comment Share on other sites More sharing options...
LostKobrakai Posted July 8, 2015 Share 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. Link to comment Share on other sites More sharing options...
adrianmak Posted July 8, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
Wanze Posted July 9, 2015 Share Posted July 9, 2015 Doesn't this module provide the functionality you need? http://modules.processwire.com/modules/login-persist/ 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