What is an ASP File?

What is an ASP File?
An ASP file is just the same as an HTML file
An ASP file can contain text, HTML, XML, and scripts
Scripts in an ASP file are executed on the server
An ASP file has the file extension ".asp"
How Does it Work?
When a browser requests an HTML file, the server returns the file
When a browser requests an ASP file, IIS passes the request to the ASP engine on the server
The ASP engine reads the file, line by line, and executes the scripts in the file
Finally, the ASP file is returned to the browser as plain HTML

No comments: