ASP slow

  • Thread starter Thread starter Sean Stevens
  • Start date Start date
S

Sean Stevens

Is there anyone who knows how we can make our ASP pages go quicker from a
client pov. The server seems fine but every now and then our ASP pages go
slow. Thanks in advance.
 
Dear Sean,

ASP pages aren't any slower (or faster) than any other kind of html
container; it is what you have them DO that slows things down. Make
sure that when ever you initiate a task on a page, you specifically END
that task. If you, say, open a database connection on a page, you must
close it, or the string will hang around in server memory, slowing
things down. As an example, if you open the database connection
"dbconn" in your page, at the bottom of your page, you must close it
with something like:

<%
dbconn.Close()
Set dbconn = Nothing
%>

and this applies to every function on every page. If you are on a
shared server, everybody else's websites should conform to this policy
as well. That is just good and ethical coding. Having your host's sysop
check the server load just when things go slow will help you to pin
down the offending functions. Good luck, Sean - happy hunting.

Nicholas Savalas - http://savalas.tv
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

1) FP Database abilities 2)How to add ASP code using FP? 1
html conversion to asp 6
Browser Back Button 2
How to include .ASP in an index.html file 2
List page ASP problem 3
Web crash 3
ASP Pages 5
XML feed 3

Back
Top