1. #1
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    153
    Vote Rating
    18
    sg707 will become famous soon enough

      0  

    Default How to handle Session Timeout?

    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.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    58
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Many times. See "similar threads" below

Similar Threads

  1. session timeout
    By sugen in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 31 Dec 2012, 6:46 AM
  2. How to get session timeout
    By andreiastra in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 13 Aug 2010, 7:56 AM
  3. session timeout issue
    By mbb_online in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 2 Apr 2009, 4:56 AM
  4. How to handle session timeout in Ext 2.2
    By misra123 in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 17 Oct 2008, 7:41 AM

Thread Participants: 1