I'd like to automatically log a user out if they haven't done anything for x minutes so that they have to log in again. I'm pretty sure this feature isn't available in Q2A core so I'll probably need to write a plugin. Does anyone have any ideas on where to run code. Code needs to update a custom table and check inactivity period so it needs to run every time the user gets a page back. I'm OK with the coding and functionality - Just not sure which function is best to overide?. Any ideas?