Hybrid View

  1. #1
    Sencha User sugen's Avatar
    Join Date
    Nov 2007
    Location
    US
    Posts
    50
    Vote Rating
    0
    sugen is an unknown quantity at this point

      0  

    Default session timeout

    session timeout


    aa.jpg
    There is a issue with me ,when i run query the data or upload file project ,my data is very large.so the session is timeout of the screen.the screem can not to display the message.and can not to get the returned value.what can i do ,can i override the ext-all.js,or add some javascript into this js?who can help me ,and thank you very much!
    make arduous efforts!

  2. #2
    Sencha Premium Member
    Join Date
    Aug 2008
    Posts
    209
    Vote Rating
    4
    squarefan is on a distinguished road

      1  

    Default


    hi,

    if you add:

    // Set Timeout Value globally
    Ext.Ajax.timeout = 180000;

    to your application --> after the extjs files, you can set the value globally and overwrite the i think 30seconds default timeout limit.

    cheers,
    squarefan

  3. #3
    Sencha User sugen's Avatar
    Join Date
    Nov 2007
    Location
    US
    Posts
    50
    Vote Rating
    0
    sugen is an unknown quantity at this point

      1  

    Default


    Quote Originally Posted by squarefan View Post
    hi,

    if you add:

    // Set Timeout Value globally
    Ext.Ajax.timeout = 180000;

    to your application --> after the extjs files, you can set the value globally and overwrite the i think 30seconds default timeout limit.

    cheers,
    squarefan
    i think so,does the same as to the grid panel javascript?must i add the code into the every js? sometimes the panel or the gird timeout also. it not in the ajax request only? thank you!
    make arduous efforts!

  4. #4
    Sencha Premium Member
    Join Date
    Aug 2008
    Posts
    209
    Vote Rating
    4
    squarefan is on a distinguished road

      1  

    Default


    yes its globally for all ext requests.

    just add it in front of the code, before init - so you have set it system wide.

    cheers,
    squarefan

  5. #5
    Sencha User sugen's Avatar
    Join Date
    Nov 2007
    Location
    US
    Posts
    50
    Vote Rating
    0
    sugen is an unknown quantity at this point

      1  

    Default


    Quote Originally Posted by squarefan View Post
    yes its globally for all ext requests.

    just add it in front of the code, before init - so you have set it system wide.

    cheers,
    squarefan
    ok , thanks very much!
    make arduous efforts!

  6. #6
    Sencha User
    Join Date
    Dec 2011
    Posts
    1
    Vote Rating
    0
    fkendall is on a distinguished road

      0  

    Default


    Thank you for your input. This solution resolved my timeout issues. I use Ajax to query (SQL SELECT) records. When the number of records is large I experience timeouts and no data is displayed via Javascript.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi