Results 1 to 4 of 4

Thread: Ext.Ajax.Timeout maximal value

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    2
    Vote Rating
    0
      0  

    Default 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

  2. #2
    Sencha User
    Join Date
    Aug 2010
    Posts
    177
    Vote Rating
    0
      0  

    Default

    What you mean with only one hour timeout =)

    Why you need that?
    --
    Mehmet ad?rc?

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    2
    Vote Rating
    0
      0  

    Default

    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

  4. #4
    Sencha User
    Join Date
    Aug 2010
    Posts
    177
    Vote Rating
    0
      0  

    Default

    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

  1. ajax timeout
    By Eugenio Nassu in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 8 Jun 2009, 10:05 AM
  2. Ajax request timeout?
    By eyp in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 26 Nov 2007, 7:33 AM
  3. Ajax timeout vs. error?
    By djMax in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 3 Aug 2007, 6:25 AM

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
  •