Results 1 to 2 of 2

Thread: Question with ExtJs Session

  1. #1
    Sencha User MoimHossain's Avatar
    Join Date
    May 2010

    Default Question with ExtJs Session

    Dear Folks,
    I have got a question about the ExtJS session.

    I am using ExtJS ( in combination with at Server Side) in a Page, and apparently for my DEMO purpose, I didn't use any authentication mechanism or any security stuffs in my application anywhere.

    But I noticed the following :

    1. I opened the page in my browser, then clicked couple of buttons and grid rows.
    2. I went away, stopped working on my machine....for about 5-10 mins
    3. I came back, and clicked any button on the page it fails when it tries to communicate with server.

    What is the reason..? Can anybody please mention the reason?

    Thanks in advance

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands


    I assume your session has timed out.

    Your sever is probably sending back either a redirect to the login page or a 401 HTTP error status.

    You should always write 'exception' event handlers on stores and 'failure' callbacks on requests to catch these situations and show a login dialog (or redirect to the login page).

Similar Threads

  1. how to get session value in EXTJS
    By nileshpatil in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 26 Apr 2012, 6:07 AM
  2. Session Management question
    By raghuveer in forum Community Discussion
    Replies: 2
    Last Post: 25 Aug 2010, 5:13 PM
  3. ExtJS Conference - Q&A Session Preliminary Question List
    By mjlecomte in forum Community Discussion
    Replies: 14
    Last Post: 19 Mar 2009, 3:08 AM
  4. Beginner Question: Catching session timeouts
    By cdeguzman in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 22 Dec 2008, 12:51 AM
  5. Get the Session in the Extjs
    By donghuan in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 22 Aug 2008, 5:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts