Hello all
I have one problem realted to calling the webserive same method repeatedly
I have one java script method called from the aspx page using Page.ClientScript.RegisterStartupScript
function CallWebservice methods()
{
webservice.GetName(onsucess,onfaliure)
}
in webservice
[Webmethod]
function List<Class> GetName()
{
// Here is my logic for getting the value from db
}
Now this works fine in normal case while only 1 function is calling it
I am getting this error while "GetName" method is exicuting some thing(getting value from db) and its result not yet returned to the javascript success/faliure method and at the same time if we are calling the same methods(GetName) from diiferent js functions or pressing f5 button repeatedly(in firefox only) , it throughs the error
Error Code:
The server method 'GetName' failed.
Status Code: 0
Timed Out: false