Header File Differences (Compact 2013)
3/26/2014
Windows Embedded Compact–based ASP supports a subset of the support for header files that IIS-based ASP supports. The basic syntax for including header files on Windows Embedded Compact is identical to the syntax for use with IIS. Both virtual and file keywords are supported.
Windows Embedded Compact allows a maximum of 16 files to be included on one page. Attempts to include more than 16 files results in an error being returned to the client browser and no script processing taking place.
ASP provides no support for nested header files. For example, if an ASP page includes the file1.inc file, and file1.inc includes the file2.inc file, then file2.inc is not read into the script. Instead, the #include line that contained file2.inc is sent to the client as regular HTML text.
There can be only one #include statement per line. #include statements must not be on the same line with processing directives, output directives, or script directives or with other #include statements. Attempts to do so result in an error message informing the script writer of this condition, and no script text being executed.
See Also
Concepts
Active Server Pages Application Development
Web Server Implementation Details