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!

Point to another page or include huge amt of code in single page?

Status
Not open for further replies.

schick

Programmer
Jun 12, 2001
33
US
I've got 6 different cases that could happen. If I include all 6 cases (150 lines of code each) with a Select Case in ASP will the whole page (900 lines)have to load before the case is performed or will it only execute only the desired case? I'm trying to decide whether to break this out in to 6 separate pages or leave it as one? One is easier but 6 may be faster???
 
The whole file will be loaded on the server but only the appropriate selected case sent to the users web browser
 
As an example of big vs BIG files, I have a couple ASP pages that exceed 1500 lines, and a couple more than twice that size. Not to count the fact that after all the includes I have one that exceeds 8000 lines. But since it is mostly functions that are called as a specific results to case statements, only the necessary code is used.
-Tarwn ------------ My Little Dictionary ---------
Extreme Programming - (1)Trying to code before my second cup of coffee. (2) While(1){ Ctrl+C; Ctrl+V; }
FAQ - Web-ese for "Forget Asking Questions, I am to busy" :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top