-
-
What happens to a HTML page?
The browser makes a HTTP request; the server gives a HTTP response to the browser and the browser converts into a HTML page.
-
ClientCertificate is a collection of
A. Server B. Response C. Request D. ObjectContext
-
What are LOCAL and GLOBAL variables?
Local variables lifetime ends when the Procedure ends. Global variables lifetime begins at the start of the script and ends at the end of the script and it can be used by any procedure within the script. Declaring a variable by using the keyword PRIVATE makes the variable global within the script, but if declared using PUBLIC, then all scripts can refer the variable.
-
What happens to ASP pages?
The browser makes a HTTP request; the server does the processing and gives a HTML response to the browser.
-
What is Application-scope?
Application-scope means that variables (and objects) can be accessed from any ASP pages that is part of the application.
-
What is application Object?
Shares information among users of an application. Gives a notification when an application starts or ends.
-
What are ARRAYS?
Arrays are variables that store items of similar information.DIM ARRAY1(4) (declares an array with the name array1 with 5 elements)
-
What is Collection?
Collection is a set of name/value pairs where the information supplied by the client is stored.
-
-
What is an Err Object?
Name it’s properties and methods?
-
What is Cookies collection?
Cookies are text files that store information about the user by which the web server identifies and marks each different visitor to a web site and determines where a user has been before. A cookie can store information only when the user sends it. Individual cookies are limited to 4KB of data. The maximum number of cookies allowed is 300. Cookies are stored on client’s machine.
-
What is the difference between Querystring collection and Form collection?
The main difference is that the Querystring collection gets appended to a URL(with a ?
-
What is the use of following Statement Response.Expires=120
A.The page will be removed form cache after 120 Hours B.The page will be removed form cache after 120 Sec C.The page will be removed form cache before 120 Min D.The page will be removed form cache after 2 Hours
-
What should the developer use in order to have an Active Server Page (ASP) invokes a stored procedure on a SQL Server database?
A. ADO B. RDO C. RDS D. OLEDB E. None of the above.
-
‘onStart’ and ’onEnd’ are events of what object(s)?
A. Application only. B. Session only. C. Server only. D. Application and Session only. E. Application, Session, and Server.
-
What is the result of using Option Explicit?
A. This applies only to Visual Basic, not VBScript. B. All variables must be dimensioned before use. C. All variables are dimensioned at run-time. D. Forces all <SELECT> controls to have a SELECTED option. E. Requires all variables be cast as specific DataTypes.
-
What is the order of execution for an ASP application?
1) Global.asa 2) Server-side Includes 3) Jscript scripts tagged within <SCRIPT> tags 4) HTML together with scripts tagged within <% … %> delimiters 5) VBScripts tagged within <SCRIPT> tags
-
What is Extranet?
An area of a web site available only to a set of registered visitors.
-
In the database table, if the datatype for field1 (shown above) is Number, what is the value of varType?">
<% varType = rsTest("field1").type %> In the database table, if the datatype for field1 (shown above) is Number, what is the value of varType?
A. The field value. B. A string description. C. The field name. D. NULL. E. An enumerator.
ASP Interview Questions
Ans