ASP Interview Questions and Answers
Question - 51 : - What is ASP (Active Server Pages)?
Answer - 51 : - 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.
Question - 52 : - What are ARRAYS?
Answer - 52 : - Arrays are variables that store items of similar information.DIM ARRAY1(4) (declares an array with the name array1 with 5 elements)
Question - 53 : - What is Application-scope?
Answer - 53 : - Application-scope means that variables (and objects) can be accessed from any ASP pages that is part of the application.
Question - 54 : - What is Extranet?
Answer - 54 : - An area of a web site available only to a set of registered visitors.
Question - 55 : - What are the types of HTML?
Answer - 55 : - Static HTML Browser uses HTTP to request HTML file from the Web Server
Dynamic HTML Browser uses HTTP to request an executable application rather than a Static HTML file
Question - 56 : - What are the properties of Session Object?
Answer - 56 : - 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
Question - 57 : - What are the event handlers of Session Object?
Answer - 57 : - Session _OnStart This event will be fired when a new user begins a session with the web site.
Session_OnEnd This event is called whenever a session terminates.
Question - 58 : - Name the ASP Objects?
Answer - 58 : - Request Object
Response Object
Server Object
Session Object
Application Object
Question - 59 : - What are the advantages of using ASP?
Answer - 59 : - 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 browser
Question - 60 : - What are the methods in Application Object?
Answer - 60 : - Lock prevents clients from modifying the variables stored in the Application object.
Unlock removes the lock from variables stored in the Application object.