cookieChoices = {};

Sunday, 21 July 2013

What is ASP?


What is ASP?

  • ASP is server side scripting technology that enables scripts (embedded in web pages) to be executed by an Internet server.
  • An Asp file can contain HTML,XML, and Scripts.
  • An Asp file has the extension ".asp".
  • when the browser requests an html file , the server just returns the file without doing any processing.
  • when the  browser requests an ASP file, IIS passes the request to the ASP engine (ASP.DLL ) on the server.
  • The ASP engine reads the file , line by line , and executed the scripts in the file which is marked as server script in <%  %>
  • Finally , the output rendered is returned to the browser as plain HTML.
ASP Objects: Request , Response , Session, Application , Server, ObjectContext & AspError.

<%......%> It contain the server code in VB script. The code out side the delimiter is client side code and is as it is rendered to the client.

<% Response.Write ("hello") %> or <%= "hello" %> are Same.


No comments:

Post a Comment