Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hanging ASP Pages

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a strange situation happen. I have a web site where people login and can view pricing from our company.

When they try to access a price list and then click on STOP on the browswer or interrupt the list in any way, all ASP files are unavilable for a few minutes.

Why is this happening and how can I fix it?
 
if you are buffering, be sure to use Response.flush then Response.End at the very end to make sure that the client knows that you've finished sending the page, far as hanging just cuz you tried to stop it, not really sure. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
We have been having the same problem off and on for some time and have not been able to find anything wrong. Once it hangs, all sites have ASP inaccessable, though HTML still works fine. CPU usage goes up to near 100% for several minutes. I have not been able to see a pattern since it seems to do it randomly. Sometimes the sites will run for weeks without hanging and then will hang several times in one day!

Since this post seemed like a similar problem, I tried the Response.Flush as suggested, followed by the Response.End but Response.Flush only gives an error to the effect that Buffering must be enabled. Maybe this is because the first line in each ASP file is: [tt]<%@ EnableSessionState=False %>[/tt]. Response.End by itself does not seem to cause an error, but will it help?

Don [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top