-
21 Apr 2011 9:27 PM #1
Ext.Ajax.Timeout maximal value
Ext.Ajax.Timeout maximal value
Hi all,
I know here is a topic created regarding this issue already, but there is not shown the final solution, so I would like to ask some of you if you don't know what is the maximal value for setting AJAX request timeout... For now it looks like it is "only" 1 hour and, how to tell it, it is not enough for our customers solution right now... I'm trying to set it through the Ext.Ajax.Timeout for all the requests...
Thanks for any help
-
21 Apr 2011 10:11 PM #2
What you mean with only one hour timeout =)
Why you need that?--
Mehmet Çadırcı
-
21 Apr 2011 10:20 PM #3
Ok, customer has existing solution which works and my ONLY question is if it's possible to set Ext.Ajax.Timeout higher than 1 hour

-
21 Apr 2011 10:34 PM #4
You should give any number from the config.
But I am not sure your web server keep a request like one hour or more.
If I were you I would make requests per 5 min. Every request return timeout message at server side like:
{success:true,status:'timeout'}
if there is smt else
PHP Code:{
success:true,
status:'newData',
data:[
{name:'firstData',value:23},
{name:'secondData',value:12}
]
}
--
Mehmet Çadırcı
Similar Threads
-
ajax timeout
By Eugenio Nassu in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 8 Jun 2009, 10:05 AM -
Ajax request timeout?
By eyp in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 26 Nov 2007, 7:33 AM -
Ajax timeout vs. error?
By djMax in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 3 Aug 2007, 6:25 AM


Reply With Quote