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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP page taking long time to load

Status
Not open for further replies.

slr22

MIS
Jun 26, 2002
80
US
I have two pages, one htm page and the other an asp page. Both access the same database, the coding is the same, pretty much everything is the same however when I try to press the next button on the navigation bar, it takes a significantly longer time with the asp page than the htm page. Is there something that the asp page does that would cause this to happen? Is there anything that I can do to make it faster to navigate through? I need to use the asp page for login purposes so I want to use the asp page, however with it taking this long it would become a problem for the users. Any help would be greatly appreciated.

Thanks.

 
when a asp is processed the server ets involved much more then a simple .htm page
the server must read all of the scripts first and thus send it the browser. however when a .htm page is called the server does nothing. the browser reads the code and performs all the functionality involved. That is probably why things will seem to be a bit slower between the two. If you are not in need of any server interaction DB involvment etc.. then you shouldn't in terms bother the server and keep it client side I dare to learn more
admin@onpntwebdesigns.com
 
Let me expand a little bit on what I'm trying to say, I don't know if I was clear enough on my last post. I am using a database to access information on my page. I'm accessing that database through a recordset. I'm only accessing one table in the database so there shouldn't be any problems with multiple tables and that slowing the page down. The page loads fairly quickly, however, when I press the next button on the navigation bar the page refreshes and gives me the information. Every time I press the next button the page refreshes and takes a few moments to finally appear. On the htm page, however it does not refresh the page, it just simply gives me the information. I'm using the same code and the same calculations on the htm page that I am on the asp page so there is nothing different between the pages except that one is an asp page and the other is an htm page. Is there something in the asp page that causes this refresh or something that makes this page slower than the htm page? Why does the asp page take a significantly longer time than the htm page to go from one page to another?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top