autoload timeout

  1. #1

    autoload timeout

    with this window autoload property, i am correct that the request timeout for the page to be loaded is 5 minutes?

    autoLoad: { url: "Pages/xxxxxx", mode:"iframe", nocache: true, timeout:300 },
    isn't this affected/overridden by the httpRuntime executionTimeout?
  2. #2

    RE: autoload timeout

    Hi

    No, timeout is milliseconds value. 5 min - 300000
  3. #3

    RE: autoload timeout

    but i though this is an Ext.Updater object... and extjs api says it in seconds
  4. #4

    RE: autoload timeout

    Hi,

    Sorry, I didn't notice iframe mode. With iframe mode there is no timeout because XmlHttpRequest is not used. With iframe mode we create iframe which itself (browser) requests resource
  5. #5

    RE: autoload timeout

    but i am getting timeout errors somewhere, i'm getting Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding...
  6. #6

    RE: autoload timeout

    Hi,

    How you getting that Timeout? I mean how you detect that timeout. If you put that url directly to the browser url then you see the same result?


    iframe uses GET request to retrieve the page (we just set src attribute). IFrame mode doesn't use Ext.Updater, browser itself requests the resource
  7. #7

    RE: autoload timeout

    yeah i guess it is the page which is throwing the error since this is the function which gets called on the Page_Load function of the page which is loading inside iframe

    
    private void bindContent(int pqsid, int selectedview)
            {
                try
                {
                    DataSet dsQS;
                    dsQS =  W.Get(pqsid, getCurrentUserId(), selectedview);
                    DataTable dtContent = dsQS.Tables[0];
                    extstorePQS.DataSource = dtContent;
                    extstorePQS.DataBind();
                }
                catch (Exception ex)
                {
                    extsm1.RegisterOnReadyScript("top.HRCA_ShowError('Error', '" + ex.Message + "');");
                }
            }
    and so in this case it is the httpRuntime executionTimeout which sets the timeout limit right?
    and so in this case it is the httpRuntime executionTimeout which
    sets the timeout limit right?
  8. #8

    RE: autoload timeout

    could this be a sql connectiontimeout? since i am using SqlHelper class which has a default connection timeout of 30 seconds i guess

Similar Threads

  1. [CLOSED] timeout
    By ilanga in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Jan 19, 2012, 9:04 AM
  2. Ajax Timeout
    By Dominik in forum 1.x Help
    Replies: 4
    Last Post: Oct 28, 2011, 9:18 AM
  3. Timeout on AjaxEvent
    By unaltro2 in forum 1.x Help
    Replies: 5
    Last Post: Nov 25, 2010, 4:35 PM
  4. [CLOSED] Timeout
    By sharif in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 02, 2010, 11:59 AM
  5. Request timeout
    By andyfoxcs in forum 1.x Help
    Replies: 3
    Last Post: May 10, 2009, 3:52 AM

Posting Permissions