Click here to Skip to main content
15,911,039 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
My ASP.NET application hang when we leave the application idle for 10-20 minutes.
I have already set its idle time but my problem has not been solved.
Can any one help me to solve this issue?
Posted
Comments
OriginalGriff 26-Sep-13 5:38am    
From that little information? Probably not.
What happens if you run it in the debugger? Can you break? where is it executing?
What happens when it "hangs"? Is it doing anything, or busy, or just not responding?
amit_83 26-Sep-13 6:00am    
Application take approximate 30-40 seconds to respond. I was using fiddler to check responding issue, then i found that tcp/ip take time to connect or respond.Can you tell me why tcp/ip taking time to connect?

1 solution

"Application take approximate 30-40 seconds to respond. I was using fiddler to check responding issue, then i found that tcp/ip take time to connect or respond.Can you tell me why tcp/ip taking time to connect?"

Probably, the connection has timed out, and been disconnected. The whole connection sequence including lookup, etc., has be be re-established, but the delay is most likely to be in waiting for the other end to fail to respond before trying to re-connect.

You could try keeping the connection alive with periodic "chat tests"?
 
Share this answer
 
Comments
amit_83 26-Sep-13 6:19am    
Can you please tell me what does periodic "chat tests" mean?
Also my application working fine in a server, but problem is coming at another server.
OriginalGriff 26-Sep-13 6:30am    
Just a quick "are you there?" - "Yes" response to keep the connection alive. Anything that doesn't take long, but just needs a response.
Alternatively, you could close the connection when you finish with it, and re-open it again when you need it - which might be rather more efficient.
amit_83 26-Sep-13 6:36am    
I want to know why is taking time to show that data, Don't want to click again & again.
we can never ask to click again & again for fast response. Is there other solution?

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