ASP is a COM (Component Object Model) based technology. The ASP component (asp.dll) attaches itself with the IIS (Internet Information Server). Upon receiving a request for an ASP page (.asp), IIS redirects it to the asp.dll. The asp.dll parses the ASP page for any script within it and if found, combines it with the HTML code and returns it to IIS which then forwards it to the requesting browser.


A sample of an ASP script is shown in the snippet below.:



<% Response.Write("Welcome to ASP") %>



<%
Response.Write("ASP script embedded inside HTML")
%>

0 comments