Muhammad,

You are correct that ASP 2.0 will include the file before processing and
thus your index.asp file would be a large file of code to be parsed, however
with the case statements most of the code would not be processed. 

In ASP 3.0 (IIS 5) there is a function called Server.Execute that will allow
you to execute a particular file in place on the server side include which
would at processing time cut down on the size of your index.asp file.

In looking to the future the Microsoft.Net allows for fully dynamic
including through what they call "User Controls", where all your code can
live in an .ascx page and the HTML live in your .aspx page.

HTH,

        Jeff Giesbrecht

-----Original Message-----
In ASP if I include files using server side includes..  <!--#include 
file="files.asp"-->
is that true that all pages will be included first... and
then ASP code wil be execute... not like when you using fusebox method in 
CF or PHP where pages can be included dynamicly...

if that true
then our index.asp will be so big.... and slow..


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to