PageMethod Default Timeout

Is there a default timeout when I call PageMethod from javascript without explicitly specifying a timeout, if so, what is it?

thanks

+5
source share
1 answer

The standard XmlHttpRequest object does not have a built-in timeout. Ajax requests will continue indefinitely since there is no standard timeout method. There are ways in which you can get around this , but I would suggest that ASP.NET does this within their framework.

IE8 is the only browser with a built-in timeout property , so I assume that their Ajax structure will match this. In this case, the default timeout will be undefined.

ASP.NET AsyncTimeout , , - ( -side) 45 , ASP.NET.

, - . , . , -. - . , - , ( ).

UPDATE
, 65 ( Thread.Sleep()). 65 , , . , , , 1 . , - , ASP.NET script . - ASP.NET 90 110 .NET.

+6

All Articles