Active Server Pages are standard HTML files with embedded script.
Two forms of the Server Side Include (SSI) directives are supported, and are processed before any ASP blocks:
<!--#include
virtual="/absolute_virtual_path"-->
<!--#include
file="relative_physical_path"-->
These directives can be used anywhere a comment would be legal in the HTML. Conventionally, included files are given the .inc filename extension.
When using Python as an ASP scripting language, whitespace is very significant.
<%Response.Write(Application('started')) %><!-- ERROR --><%Response.Write(Application('started'))%><!-- OK -->
<%@ server
directives %>Sets various ASP options (Server Directives). This block can only occur at the top
of the ASP file, and only once.
To ensure that your pages will still work, unaltered, after moving to a new hosting provider (especially one unwilling or unable to change the IIS settings), or after a reinstall/upgrade of the server software (which could replace all of your custom IIS settings with the defaults), include a Language directive for any non-VBScript page, and an EnableSessionState directive whenever the Session object is used (session support can be very resource-intensive, and should be disabled unless needed).
<%=
expression %>Converted to Response.Write(expression).
This block cannot contain line breaks.
Adjacent write blocks will 'eat' any whitespace between them,
so <%= firstname %> <%= lastname
%> will result in BrianLalonde being sent to the browser. To
prevent this, use the space (or nonbreaking space) character
entity <%= firstname %>  
<%= lastname %>, or include the space character in a
single write block <%= firstname+"
"+lastname %>.
<% procedural
script %>Executes the procedural script, but
doesn't directly insert anything into the resulting HTML. Translates
literally into Response.WriteBlock(procedural
script).