Let us find the answer to that question but first, we need to get some basics out of the way:
What is ASP Script?
Just like modules in any programming language that achieve tasks automatically, ASP Script is a framework that has programs embedded in it. These programs when called, are executed with the help of a Microsoft server. No wonder, ASP Script is Microsoft’s first server-side script engine used to make web pages dynamically.
How does ASP Script work?
We know that the entire web works on the concept of client, server, and browser sending files and requests to and fro. When we type a query in a browser, the browser sends this request to the server and the server simply returns the required files, whether it be HTML or other things like a pdf.
But in the case of an ASP file, it is not directly returned by the server. Rather, the server forwards the request to the ASP engine first. The ASP engine then reads the file and executes the script. After execution, the ASP file is finally sent to the browser as HTML.
This is essentially how an ASP Script works. Read more about ASP Script here.
|1. It is a client-side script.||1. It is a server-side script.|
|2. It runs on the client browser.||2. It runs on the server.|
|3. It is language.||3. It is a framework.|
|4. It is used to make web pages dynamic.||4. It is used to run web apps or web pages.|
While in the case of ASP Script, requests like connecting to a database are run on the server, and then the results are returned, thus, making it slower.
Please Login to comment...