Jump to content

Recommended Posts

Posted

Probably you can make hook before session init, than get user id or role and change config->sessionExpireSeconds

  • Like 1
Posted

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

 

  • Like 1

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
  • Recently Browsing   0 members

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