elabx Posted November 14, 2018 Share Posted November 14, 2018 Is there a way to allow certain users to have a reduced session timeout? Maybe through a hook? Link to comment Share on other sites More sharing options...
Zeka Posted November 15, 2018 Share Posted November 15, 2018 Probably you can make hook before session init, than get user id or role and change config->sessionExpireSeconds 1 Link to comment Share on other sites More sharing options...
kongondo Posted November 19, 2018 Share Posted November 19, 2018 Or maybe something like this by @Pete? You can modify it to check the user's ID or role and log them out when their session comes to an end? I am not sure if ProcessWire currently stores the time a session started? If it does, you can maybe use that instead of PHP $_SESSION 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