• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 438
  • Last Modified:

ajax timeout

Hi Guys,
is there a way to set timeout to never or to reconnect to timedout request again.

Thanks!
0
dojjol
Asked:
dojjol
1 Solution
 
cmalakarCommented:
If you are using JQUERY, when you do a ajax request, error callback method will be called on timeout.

You can check the second argument value to check, if the error was for timeout, and retry the request again.

http://api.jquery.com/jQuery.ajax/
0
 
phoenixfire425Commented:
can you be more specific on your application?
0
 
dojjolAuthor Commented:

I have reports which are run through ajax call, if it is long time to execute, I get timeout and reports fail to run
0
 
leakim971PluritechnicianCommented:
Did you try to set the timeout ajax parameter?

$.ajax({"url":"/path/to/page.aspx", "timeout":36000
0
 
leakim971PluritechnicianCommented:
Thanks for the points!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now