- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
ASP Interview Questions & Answers - Learning Mode

ASP Interview Questions & Answers - Learning Mode

Active Server Pages (ASP) is Microsoft's first server-side script engine for dynamically-generated web pages. It was initially marketed as an add-on to Internet Information Services (IIS) via the Windows NT 4.0 Option Pack, but has been included as a standard feature since then.

Try ASP Interview Questions & Answers - Exam Mode

1 2 3 4 5 6 7 8 9 10 11 12 Next

Sort By : Latest First | Oldest First | By Rating

ASP Interview Questions & Answers - Learning Mode
Try ASP Interview Questions & Answers - Exam Mode
Question: How can you disable the browser to view the code?

Answer: Writing codes within the <! -- //-- > Tag. Source:
Question: Explain the POST & GET Method or Explain the difference between them?

The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in the form will be stored in the FORM collection.
The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair.
The length of the URL should be less than 255 characters. Source:
Question: How many types of cookies are available in asp?

Answer: There are 2 types of cookies

Persistent and Non-persistent
Question: What is the maximum size of an array?

Answer: Depends on your pc's memory size
Question: What is ServerVariables collection?

Answer: The ServerVariables collection holds the entire HTTP headers and also additional items of information about the server. Source:
Question: What is the difference between Server-side validation and Client-side validation?

Answer: Client-side is faster than server-side as the networking time from client to server is saved
server-side is done on the server. Then the server converts the data into an html page and sends to the browser.
server-side is more secure as the user cannot see the code even he does a view-source.
Question: How many global.asa files can an Application have?

Answer: Only one global.asa file and it?s placed in the virtual directory?s root. Source:
Question: What is the difference between Querystring collection and Form collection?

Answer: The main difference is that the Querystring collection gets appended to a URL(with a ? Source:
Question: What is the difference between client-side script and server-side script?

Answer: Scripts executed only by the browser without contacting the server is called client-side script. It is browser dependent. The scripting code is visible to the user and hence not secure. Scripts executed by the web server and processed by the server is called server-side script. Source:
Question: How to include Active x controls in ASP code

Answer: you can include Activex Control using OBJECT tag.

Syntax for including Activex control is ..

<OBJECT id="id1" clsid ="give class id here" codebase="path spec for activex ocx"></OBJECT>
Question: Which choice is NOT an ADO collection?

Answer: A. Properties
B. Records (Answer)
C. Fields
D. Errors
E. Parameters Source:
Question: What is the difference between Server.Transfer and response.redirect ?

Question: What is a "Virtual Directory"?

Answer: Virtual directories are aliases for directory paths on the server. It allows moving files on the disk between different folders, drives or even servers without changing the structure of web pages. It avoids typing an extremely long URL each time to access an ASP page. Source:
Question: How are sessions maintained?

Answer: A. The browser sends a cookie to the server with each request. (Answer)
B. The browser sends a Querystring variable to the server with each request.
C. The browser sends a hidden Form variable to the server with each request.
D. The browser sends a long variable to the server in the BODY of each request.
E. None of the above. Source:
Question: Name the ASP Objects?

Answer: 1. Session Object

2. Application Object

3. Server Object

4. Request Object

5. Response Object

6. Object Context

7. Error Object
Question: What is a class in CSS?

Answer: A class allows you to define different style characteristics to the same HTML element.
Question: <%
Set Application("Thing") =
The above code appears in the global.asa file. What would it accomplish?

Answer: A. It would create a "Thing" object and place it in Contents Collection of the Application object.
B. It would create a "Thing" object and place it in StaticObjects Collection of the Application object.
C. It would create a "Thing" object and place it in the Application.Buffer Collection Of the Application object.
D. It would create an application-level variable named "Thing" with the value of the object property "THINGDOER.thingy". (Answer)
E. It would fail to create a "Thing" objec Source:
Question: How do assign the memo data type in ASP page as variable? and I want to place that variable in HTML's textarea as its value?

Answer: I tried it with the access database with description as memo field.

set conn=server.CreateObject("ADODB.connection") "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & server.MapPath("db1.mdb") & ";"
set rs=server.CreateObject("ADODB.recordset") "select * from table1",conn
</html> Source:
Question: What is the maximum size of an array?

Answer: Up to 60 dimensions. Source:
Question: What happens to a HTML page?

Answer: The browser makes a HTTP request; the server gives a HTTP response to the browser and the browser converts into a HTML page. Source:

1 2 3 4 5 6 7 8 9 10 11 12 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.058594 Seconds