asp.net - Is It Possible to stop a server request manually while the request is being processed by the server -


i using asp.net , ajax functionalities make requests server via web services search functionality. on click of search button, making screen inactive displaying loading image on it. issue searches takes longer time, , user forced wait till results fetched. there way search can cancelled manually, button click while search being performed server.

any or alternates appreciated.

one thing can try set timeout on ajax call, take here:asp-net-page-webmethod-ajax-call-request-timed-out

another thing use javascript settimeout display user message after few seconds saying "its taking long. wait results or abort?" "abort" link refreshes page.


Comments

Popular posts from this blog

rest - Spring boot: Request method 'PUT' not supported -

php - Magento - Deleted Base url key -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -