Click here to Skip to main content
15,908,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i am working in asp.net. I have 10 templates in my Database. Based on the user selection i want to create a html dynamically
in that html file contains 5 text boxes. If the user entered the values and submit the button i have to store the details in my
DB. For that purpose i created one generic handler(.ashx).when user submit on the html button using ajax called i called the
handler and pass the values to handler.my flow is working fine but when the slow internet connection our ajax call is not
reached the handler. on that time it fails .in that scenario what will i do.? is there any way to avoid this problem.
Posted
Comments
[no name] 12-Aug-13 6:24am    
I think you need to check the send timeout in the config file and modify that according to your requirement so that they can be helpful.
[no name] 19-Aug-13 5:13am    
hi sisir due to suggestion i set the time out for ajax call and increased to 50000.
now it's working fine thanks for your help.. :)
[no name] 19-Aug-13 6:56am    
I repeat this is not the permanent solution here for this problem. You need to find out the exact reason for the timeout. It may be related to the query that you are using for the database operations. Please optimize them as well.
idenizeni 12-Aug-13 15:27pm    
What sisir said, increase the timeout on the process so it waits long enough for the AJAX call to respond under slow internet conditions.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900