-
What are the properties used to control the expiration of the page?
• Expires – specifies the number of minutes before a page cached on a browser expires. • ExpiresAbsolute – sets the date and time at which a page cached on a browser expires.
-
What is a session?
A user accessing an application is known as a session.
-
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 are the methods in Session Object?
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.
-
What are Scripting Objects?
Objects that can enhance the application are known as the Scripting Objects.
-
What are the ASP Scripting Objects?
The Dictionary object, the FileSystemObject object, TextStream object.
-
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 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 are the advantages of using ASP?
• Minimizes network traffic by limiting the need for the browser and server to talk to each other • Makes for quicker loading time since HTML pages are only downloaded • Allows to run programs in languages that are not supported by the browser • Can provide the client with data that does not reside on the client’s machine • Provides improved security measures since the script cannot be viewed by the...
-
What is HTML(Hypertext Markup Language)?
It’s a method by which web pages can be built and generally used for formatting and linking text.
-
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 Request Object?
Gets information from the user. It has five collections by which values can be accessed. They are: Querystring, Form, Cookies, Server Variables & ClientCertificate
-
What is Collection?
Collection is a set of name/value pairs where the information supplied by the client is stored.
-
What is application Object?
Shares information among users of an application. Gives a notification when an application starts or ends.
-
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 are the collections of Application Object?
* Contents collection – contains all variables added via scripts in global.asa. * Static collection – contains the names of all objects added via the <OBJECT> tag in global.asa.
-
Which choice is NOT a property of Dictionary Object?
A. Key() B. CompareMode C. Item () D. Exists () E. Count
-
What is an .ASP file?
It is a Text File that contains the combination of the following: • Text • HTML tags • Script Commands
-
How are scripts executed?
ASP provides scripting engines that execute the corresponding scripting languages on the server side. Scripts should be encoded within the <%…. %> Delimiters.
ASP Interview Questions
Ans