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 ...

Get Mastering Ext JS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.