Active Server Pages or ASP, as it is more commonly known, is a technology that enables you to make dynamic and interactive web pages.
ASP uses server-side scripting to dynamically produce web pages that are not affected by the type of browser the web site visitor is using.
ASP Interviews are getting tough these days as the technology grows faster. To get through the ASP interview one needs to update him/herself in a regular manner. Having said that, just before the interview, it is very important to have a quick glance of the reputed ASP questions and answers to make yourself comfortable during the interview process. This is where DoAnswers.com helps you in renewing yourself on ASP and various other technologies interview preparation.
21. What are the event handlers of Session Object?
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.
22. What are the methods by which output stream is controlled?
Flush sends previous buffered output to the client immediately, but continues processing the script.
Clear erases any already-buffered HTML.
End causes the server to stop processing the script.
23. 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.
24. 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.
25. 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
26. What are the special sub-types in VBScript?
EMPTY: has no value NULL: Value does not exist (conjunction with database) OBJECT:
27. What are the tags necessary to be present within the tag ?
-----tag: Provides input spaces (text boxes, combo boxes, radio button, etc.) on a form called fields. It has three attributes TYPE, NAME and VALUE. TYPE provides the characteristics of the field and the NAME specifies a name to the field by which it can be referred.
28. What are the tasks performed by <> tags?
tags provides space for the user to input values the form has a button to submit information back to the server It transfers control to another ASP page It carries the information in the fields to another ASP page
29. What are the types of HTML?
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
30. What do you need to run ASP?
A browser and a Web server