Client-side activity monitor
Let's enhance our application a little bit more. It is very important to let the users know that web applications have a timeout and they cannot leave it open all day long—mainly for security reasons. Server-side languages also have a timeout. Once the user is logged in, the server will not be available forever. This is for security reasons. That is why we need to add this capability to our application as well.
We are going to use a plugin to do this. The plugin is called Packt.util.SessionMonitor and is based on the Activity Monitor plugin from the Sencha Market (https://market.sencha.com/extensions/extjs-activity-monitor). After an interval (a default of 15 minutes of inactivity), the plugin will display a message ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access