2 Nov 2010 2:40 AM #1
Unanswered: Question with ExtJs Session
I have got a question about the ExtJS session.
I am using ExtJS ( in combination with ASP.net 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 Nov 2010 3:10 AM #2
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
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).
By nileshpatil in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 26 Apr 2012, 6:07 AM
By raghuveer in forum Community DiscussionReplies: 2Last Post: 25 Aug 2010, 5:13 PM
By mjlecomte in forum Community DiscussionReplies: 14Last Post: 19 Mar 2009, 3:08 AM
By cdeguzman in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 22 Dec 2008, 12:51 AM
By donghuan in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 22 Aug 2008, 5:42 PM