-
What is a FileSystemObject object?
It provides access to the physical file system of the web server. It gets and manipulates information about all drives in a server, folders and sub-folders on a drive and files inside a folder.
-
What are the collections of Session Object?
• Contents collection – contains all the variables established for a session without using the <OBJECT> tag. • Static collection – contains all the objects created with the <OBJECT> tag within session scope.
-
What are the properties of Session Object?
• SessionID – returns the session identification number for each user. • Timeout – sets the timeout period assigned to the Session object for any application, in minutes. • CodePage – determines the code page that will be used to display content. • LCID – a locale identifier, which determines time zone and language, rules for the system.
-
What is ASP (Active Server Pages)?
ASP is a server side-scripting environment for building dynamic and interactive web pages. Since the scripts run on the server side, the web server does all the processing.
-
-
What happens when a client submits a form which changes the value of an Application variable?
A. Client actions cannot change Application variables. B. The change is not visible to any client until the application is stopped and started. C. The change is only visible to future requests made by that client during their current session. D. The change is visible to all clients, but only after they complete their current sessions and begin a new session. E. The change is visible to all clients...
-
What are the advantages of Cookies over Session Object?
• It informs each page what session the request belongs to when a user accesses during a session. • It retrieves all the session information stored on the server. • Cookies can persist for a much longer period of time than session that has a timeout value usually of 20 minutes and hence can store information even when a user is off the site.
-
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.
-
What is Extranet?
An area of a web site available only to a set of registered visitors.
-
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 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.
-
‘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 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.
-
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 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 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 an Err Object?
Name it’s properties and methods?
-
-
What is Collection?
Collection is a set of name/value pairs where the information supplied by the client is stored.
-
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)
ASP Interview Questions
Ans