Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: big pages, Server.Transfer


Message #1 by P <limphere@y...> on Sun, 20 Jan 2002 12:36:36 -0800
Hello everyone, I'd like to know if it is better to split very large pages

up into smaller ones and use Server.Transfer / Server.Execute. I have forms

with multiple submit buttons, the resulting asp actions for each button

being different of course. The form is submitted to another page (20 - 100

lines of code) and depending on which name/value submit button was clicked,

Server.Transfer or Server.Execute, or Response.Redirect is used to redirect

to the page with the resulting action (about 200 lines) . I am wondering

though if it would be faster if all the form and resulting actions were

listed on only one page (which the form is submitted back to) instead of

using Server.Transfer or Server.Execute, or Response.Redirect, however the

resulting page ends up over 1000 lines of code long, and I also start

getting a bit lost in the coding. So, is it quicker for the server to read

one page of 1000 lines, or quicker to read one page with 100 lines and then

Sever.Transfer or Redirect to another page with only 200 lines of code ? I

can either have a site with about 8 pages about 1000 line long each, or a

site with 40 pages of about 20 to 200 lines each. 



Thank you. 





_________________________________________________________



Do You Yahoo!?



Get your free @yahoo.com address at http://mail.yahoo.com








  Return to Index