19 Aug 2010 1:00 PM #1
How to handle Session Timeout?
Sorry if I'm asking a very noobish question. I just got into Ext JS few days ago. I guess my question maybe too low level to find anywhere else.
Here's my questions:
1. Let say I'm using that GridPanel and I enabled "auto update". Assume, I'm refreshing the value in the GridPanel every minute or so. But, for whatever the reason... the user leaves his station and gone to vacation for entire month. Is there a elegant solution to automatically logout using ExtJS? If not, would I have to create special keyboard/mouse listener and keep some sort "active" flag?
2. This question is regarding the re-login. Let say, a user was inactive for 1 hour and decided to press the "search" button. In order to use search functionality, the session must be valid. Is there a way ExtJS can intercept this and display the login window and then proceed with the original request?
In advance, sorry for noobish questions.
19 Aug 2010 1:56 PM #2
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
Many times. See "similar threads" belowSearch the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
By sugen in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 31 Dec 2012, 6:46 AM
By andreiastra in forum Ext GWT: DiscussionReplies: 1Last Post: 13 Aug 2010, 7:56 AM
By mbb_online in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 2 Apr 2009, 4:56 AM
By misra123 in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 17 Oct 2008, 7:41 AM