Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering ExtJS - Second Edition
  • Table Of Contents Toc
Mastering ExtJS - Second Edition

Mastering ExtJS - Second Edition - Second Edition

By : Loiane Avancini
4 (3)
close
close
Mastering ExtJS - Second Edition

Mastering ExtJS - Second Edition

4 (3)
By: Loiane Avancini

Overview of this book

If you are a developer who is familiar with Ext JS and want to augment your skills to create even better web applications, this is the book for you. Basic knowledge of JavaScript/HTML/CSS and any server-side language (PHP, Java, C#, Ruby, or Python) is required.
Table of Contents (13 chapters)
close
close
12
Index

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 to the user asking whether the user wants to keep the session alive. If yes, then it will send an Ajax request to the server to keep the server session alive. If the user does not do anything after the message is displayed for 60 seconds...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering ExtJS - Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon