What is ASP?
ASP stands for Active Server Pages. It is a server side technology which is used to display dynamic content on web pages. For example you could write code that would give your visitors different information, different images or even a totally different page depending on what browser version they are using.
Writing codes within the Tag
Virtual directories are aliases for directory paths on the server. It allows moving files on the disk between different folders, drives or even servers without changing the structure of web pages. It avoids typing an extremely long URL each time to access an ASP page.
VBScript : REM & ‘(apostrophe)
JavaScript : // (single line comment)
/* */ (Multi-line comments)
VBScript
Variant is the default data type in VBScript, which can store a value of any type.
Variable is a memory location through which the actual values are stored/retrieved. Its value can be changed.
Up to 60 dimensions.
This collection stores any values that are provided in the URL. This can be generated by three methods:
By clicking on an anchor tag
By sending a form to the server by the GET method
Through user-typed HTTP address
It allows you to extract data sent to the server using a GET request.
The two attributes are ACTION and METHOD
The ACTION gives the name of the ASP file that should be opened next by which this file can access the information given in the form The METHOD determines which of the two ways (POST or GET) the browser can send the information to the server
The Session Object has only one method, which is Abandon. It destroys all the objects stored in a Session Object and releases the server resources they occupied.
The ServerVariables collection holds the entire HTTP headers and also additional items of information about the server.
The main difference is that the Querystring collection gets appended to a URL.
The Form collection holds the values of the form elements submitted with the POST method. This is the only way to generate a Form collection.
The Dictionary object, the FileSystemObject object, TextStream object.
The browser makes a HTTP request; the server gives a HTTP response to the browser and the browser converts into a HTML page.