Technical interview questions and answers are essential for an ASP Interview because companies expect candidates to understand server-side scripting, session handling, cookies, request/response objects, and dynamic web page creation. ASP is widely used in older enterprise systems, and many organizations still rely on it for maintaining web applications. This makes ASP interview questions relevant in technical rounds of companies like TCS, Infosys, Wipro, Cognizant, and Accenture. For freshers and junior developers, learning ASP concepts helps build a strong foundation for understanding modern web technologies as well. This guide provides frequently asked ASP interview questions with clear and simple explanations to help job seekers prepare effectively. These questions will improve your technical confidence during placement tests and web development interviews.
Showing 10 of 79 questions
61. 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.
62. 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.
63. What are the collections of Session Object?
Contents collection contains all the variables established for a session without using the tag.
Static collection contains all the objects created
64. What is the difference between ASP and HTML? Or Why ASP is better than HTML?
- ASP executes code on the server side whereas the browser interprets HTML.
- ASP can use any scripting languages
- Gets feedback from the user and return information to the user
- Create pages that will be customized to display only things that will b
65. 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.
66. Name the ASP Objects?
Request Object
Response Object
Server Object
Session Object
Application Object
67. 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 clients machine
Provides improved security measures since the script cannot be viewed by the browser
68. Name some of the ASP components?
Ad Rotator component- a way to manage advertisements on the web site.
Content Linker component - a technique to direct users through a set of pages on a web site by creating a list of URLs and description of the next and previous pages.
Browser Capabilities component - allows to customize the page to the ability of the browser viewing it.
Database Access component - allows to access data from the database
69. What are the tasks performed by < FORM > 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
70. 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.