J
JP SIngh
Hi All
Just wondering if you anyone can give me some tips on speeding up the asp
page which has about 50 fields and 10 drop downs.
The page loads up very slowly.
Also I have couple of questions in relation to the performance of ASP Pages
1. I open up the SQL Server connection in a file call dbconn.asp
set conn = server.createobject("ADODB.Connection")
conn.open "PROVIDER=SQLOLEDB;DATA
SOURCE=MYSQLSRV;UID=User;PWD=SQLPa55;DATABASE=NEWDB"
and include this file on top of every page.
Is this a good practice? Or shall I be open the connection on every page and
closing it on the page itself.
2. The page has 10 dropdowns menus each of which can have about 500 odd
records. Is there an alternative design solution so i don't have to open up
11 recordsets 1 for the main page and 10 for the drop downs.
Thanks in advance for your help
Regards
Just wondering if you anyone can give me some tips on speeding up the asp
page which has about 50 fields and 10 drop downs.
The page loads up very slowly.
Also I have couple of questions in relation to the performance of ASP Pages
1. I open up the SQL Server connection in a file call dbconn.asp
set conn = server.createobject("ADODB.Connection")
conn.open "PROVIDER=SQLOLEDB;DATA
SOURCE=MYSQLSRV;UID=User;PWD=SQLPa55;DATABASE=NEWDB"
and include this file on top of every page.
Is this a good practice? Or shall I be open the connection on every page and
closing it on the page itself.
2. The page has 10 dropdowns menus each of which can have about 500 odd
records. Is there an alternative design solution so i don't have to open up
11 recordsets 1 for the main page and 10 for the drop downs.
Thanks in advance for your help
Regards