We have a custom plugin that allows users to log in using a custom page using wp_login_form().
For the pages that need access control we use is_user_logged_in().
We recently installed your plugin to have sessions automatically expire after 30 minutes idling. It works perfectly for users on the Dashboard, but doesn't seem to be doing anything if the user stays in the frontend.
Should we be doing something in our plugin to make sure that your plugin checks and closes idle sessions? Should we be using a different function to check if the user is still logged in?
Hello
We have a custom plugin that allows users to log in using a custom page using
wp_login_form()
.For the pages that need access control we use
is_user_logged_in()
.We recently installed your plugin to have sessions automatically expire after 30 minutes idling. It works perfectly for users on the Dashboard, but doesn't seem to be doing anything if the user stays in the frontend.
Should we be doing something in our plugin to make sure that your plugin checks and closes idle sessions? Should we be using a different function to check if the user is still logged in?
Thank you!