Hello,
I have an application that should log out after a few minutes of inactivity, but this this not happening. Even after one night, the next day can sail smoothly. How can I force the log out the user after a certain time?
1 Answer(s)
-
0
Hi,
Metronic has an example page what you are looking for. <a class="postlink" href="http://keenthemes.com/preview/metronic/theme/admin_4_material_design/ui_idle_timeout.html?p=page_user_lock_1">http://keenthemes.com/preview/metronic/ ... ser_lock_1</a>
This is the plugin used <a class="postlink" href="https://github.com/ehynds/jquery-idle-timeout">https://github.com/ehynds/jquery-idle-timeout</a>.
I haven't tried this but, I think you just need to call Account/Logout when this jquery plugin detects if user is idle for an amount of time.