What are Active Server Pages?
What are Active Server Pages?
These are components that allow web developers to create server-side scripted templates that generate dynamic, interactive web server applications. By embedding special programatic codes in standard HTML pages, a user can access data in a database, interact with page objects such as Active-X or Java components, or create other types of dynamic output. The HTML output by an Active Server Page is totally browser independent which means that it can be read equally well by Microsoft Explorer, Netscape Navigator, or most other browsers.ASP make it easy for a developer to create everything from a website that is customized to a viewers tastes, to a complex database application that may access legacy data from a mainframe.
A very simple example of ASP:
<HTML>
<HEAD>
<TITLE>Sample Web Page</TITLE>
</HEAD>
<BODY>
<P>
Hello <%= Request.ServerVariables(“REMOTE_USER”) %>
The time here is <%= now %>
Your browser is <% = Request.ServerVariables(“http_user_agent”) %>
</BODY></HTML>