-
-
-
-
What is Response Object?
It controls the information sent to the user. The various methods are: Response.Write – Sends information directly to a browser Response.Redirect – Directs a user to a URL other than the requested URL Response.ContentType – Controls the type of content sent Response.Cookies – Sets cookie values Response.Buffer – To Buffer information
-
What is Server Object?
Controls the ASP execution environment. It can set the amount of time script can run before an error occurs. Converts a virtual path to a physical path on the server. Takes a user supplied string and encode it into proper format for a URL string.
-
Which is the default Data types in VBScript?
Variant is the default data type in VBScript, which can store a value of any type.
-
What are Constants?
How will you declare a constant?
-
-
-
What is the maximum size of an array?
Up to 60 dimensions.
-
What is Global.asa file?
It is text file that contains details about an ASP application, such as when it should begin and end.
-
What is IIS?
IIS is a Web Server that provides Web services, not only for web pages but also for ftp sites and video and audio services. It integrates with the database facilities of SQL Server.
-
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 is a Dictionary object?
It lets you store and retrieve information in a flexible data structure. Each value or information stored in a Dictionary is associated with a key through which the information can be retrieved.
-
Which choice is NOT an ADO collection?
A. Properties B. Records C. Fields D. Errors E. Parameters
-
What are the Web Servers supporting ASP?
• Internet Information Server (IIS) on Windows NT • Personal Web Server (PWS) on Windows 95 • Peer Web Services on Windows NT
-
What are the methods in Application Object?
• Lock – prevents clients from modifying the variables stored in the Application object. • Unlock – removes the lock from variables stored in the Application object.
-
What are the event handlers of Application Object?
• Application_OnStart – This event will be fired when the first visitor hits the page. • Application_OnEnd – This event runs when the server is stopped.
-
-
How many global.asa files can an Application have?
Only one global.asa file and it’s placed in the virtual directory’s root.
ASP Interview Questions
Ans