> single long script (around 5000 lines).
5000 lines? We have entire full-service ASP applications that are half of
this size, all pages included. Loading 5000 lines every time the user runs
a page is going to bite you eventually, I guarantee it.
The largest ASP script I've ever worked with was 250 lines, maybe. And it
was completely self-supporting. Sounds like you should break apart your
includes by functionality. For example, you don't need your connection,
getRows() or paging helper functions on any ASP scripts that never touch the
database.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/