Oct 05, 2011, 3:11 PM
Ajax Timeout
Hi,
We have a long server side process that can easily produce an ajax timeout.
We have changed our request timeout, suposed to be infinite, more or less in this way:
Request Failure
Status Code: -1
Status Text: transaction aborted
How could we avoid this timeout error? How could we define an ajax timeout only for this request?
Thanks in advance,
Dominik.
We have a long server side process that can easily produce an ajax timeout.
We have changed our request timeout, suposed to be infinite, more or less in this way:
<Proxy>
<ext:HttpProxy Url='<%# this.Page.GetRouteUrl(this.Area, new { controller="Customers", action="Index" }) %>'
Method="GET" AutoDataBind="true" Timeout="2147483647" />
</Proxy>
With this timeout the full process is completed, no matter how many time it takes. But when it exceeds from 30 seconds, this error thows in the middle of the process:Request Failure
Status Code: -1
Status Text: transaction aborted
How could we avoid this timeout error? How could we define an ajax timeout only for this request?
Thanks in advance,
Dominik.
Last edited by Dominik; Oct 06, 2011 at 12:27 PM.