PC Review


Reply
 
 
Sean Stevens
Guest
Posts: n/a
 
      4th May 2006
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.


 
Reply With Quote
 
 
 
 
Nicholas Savalas - http://savalas.tv
Guest
Posts: n/a
 
      4th May 2006
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

 
Reply With Quote
 
Sean Stevens
Guest
Posts: n/a
 
      5th May 2006
Great thanks for that Nick.

"Nicholas Savalas - http://savalas.tv" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow boot, slow reactions, slow computer user... tbanwell@gmail.com Windows XP Help 4 14th Aug 2006 04:24 PM
Slow Opening Files, Explorer Slow, Context click slow FIXED!!! =?Utf-8?B?RG9taW5pcXVl?= Windows XP Help 5 6th Jan 2005 02:33 AM
Slow, slow, slow, slow to load pages steve Windows XP Internet Explorer 3 8th Mar 2004 06:36 PM
Re: WORD documents load slow slow slow Graham Mayor Microsoft Word Document Management 1 9th Jan 2004 07:16 PM
delete SLOW, right-click SLOW, enter SLOW Maxim Khesin Windows XP Basics 2 28th Nov 2003 03:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.