Server Side Includes

Another option for ASP systems (and others) is to create a separate client page file and to use it as an include file. If the server-side include mechanism works so that the enabling technology filter processes the include as well, it is possible to physically separate the server page and the client page into distinct files. Doing this in ASP means adding the following server-side include statement at the end of all of the server page code:

<!--#INCLUDE FILE="GetCart.inc" -->

When separate files are used, it is convenient for the client page developer to include—in a set of comments at the top of the page—all of the server page variables and operations that may be called or used when working on the client page file. For ...

Get Building Web Applications with UML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.