Monday, 9 July 2012

How ASP files are processed

ASP is a technology that enables in the development of dynamic web sites. ASP was developed by Microsoft to allow HTML developers to easily provide dynamic content supported as standard by IIS. When a browser requests an ASP file from a web server  then following steps take place:
  • We should type in the URL into our browser, for example: http://www.google.com/default.asp
  • Our browser finds the appropriate web server and says that "It needs to look at the file /default.asp".
  • ASP code is in between the ASP script delimiters(<%.....%>)
  • As all of the ASP is parsed into HTML the client sees absolutely no ASP code.
  • The browser collects this HTML text and parses it.
The whole process starts with the client requesting a file with a .ASP extension. The server notes the extension and parses the contents of the requested file before sending it to the client. The server locates the HTML file on Hard drive. At last when we view an ASP file through Internet Explorer or Netscape, our browser doesn't know that the .asp file is different from the standard .html file.

No comments:

Post a Comment