Welcome to www.programmer2programmer.net tips for IT Interview Questions of ASP - Active Server Pages


 Microsoft Certification
 Final Year Project Idea
 Connection Strings
 Password Recovery
 SQL Injection
 Encryption & Decryption
 LIVE Academic Project
 Project #1 - VB6, Access
  Project #2 - VB.Net, SQL
 Project #3 - ASP, Access
 Project #4 - ASP.NET, C#
 Project #5 - VB6, SQL
 Project #6 - Stegano
 Project #7 - C
 Project #8 - C++
 Project #9 - JAVA, MySQL
 Project #10- PHP, MySQL
 Project #11- JSP, Oracle
 Project #12- C# Face Exp
 Project #13- Mobile Bank
 Download MBA Project
 MBA Project Topic
 Project Viva Question
  2017 New Projects
 Project Synopsis Download
 University Question Paper and Assignment
 SMU - Question Paper
 SMU - Assignment
 SCDL - Assignment
 Interview Question Answer
 General & HR Round
 Visual Basic 6
 VB.Net & C#
 SQL Server
  Oracle and DBA

100% Tested
Ready Academic IT Projects

 Interview questions and Answers for Classic ASP, Server objects, Web Application IIS Configuration, Scripting
Home Personal Member Forum Source Project Tips Contact

Interview Question - Active Server Pages (Classic ASP)

Interview questions and answers for Active server pages (ASP), Interview questions and answers for Classic ASP Server objects, Interview question answers for ASP application and session objects. ASP Interview question answers for IIS, global.asa file. Interview question and answers for ASP and VB Scripts. Interview question answers for ADO data access technologies. Interview question and answer for ASP forms collections. ASP Interview questions and answers for File system objects.

Here you can find ASP- Active server pages, web development and web programming interview question and answers

Interview Question, Answer
1.  Programming General
2.  Web General
3.  Database General
4.  Visual Basic 6
5.  ASP
6.  Visual Basic .NET and C#
7.  ASP .NET
9.  MS SqlServer
10. MySql
1. What is the difference between Request(”field”) and Request.Form(”field”)?
  The former term allows simultaneous querying of both the form fields and the query string fields. 
2. What is Server Variables collection?
  The ServerVariables collection holds the entire HTTP headers and also additional items of information about the server.
3. What is ClientCertificate collection?
  A ClientCertificate is an encrypted number that is stored in a file on the user’s computer. This stores details of any security certificates included with the request.
4. 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.
5. What is a TextStream object?
  It allows you to access(read/write) the contents of text files stored on the web server.
6. What is the difference between Cookies collection and Form/Querystring collection?
  Cookie collection does not have the Count property. Cookies can have multiple values for the same cookie name but each value can be referred using a key whereas in a Form/Querystring cookie each value
7. What is a Form collection?
  The Form collection holds the values of the form elements submitted with the POST method. This is the only way to generate a Form collection.
8. What are the attributes of the tags? What are their functions?
  The two attributes are ACTION and METHOD The ACTION gives the name of the ASP file that should be opened next by which this file can access the information given in the form.
9. What is Request Object?
  Gets information from the user. It has five collections by which values can be accessed. They are: Querystring, Form, Cookies, Server Variables & ClientCertificate
10. What is a FileSystemObject object?
  It provides access to the physical file system of the web server. It gets and manipulates information about all drives in a server, folders and sub-folders on a drive and files inside a folder.
11. What are the collections of Session Object?
  • Contents collection – contains all the variables established for a session without using the <OBJECT> tag.
• Static collection – contains all the objects created with the <OBJECT> tag with
12. 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 – Specifies the character set that will be used when displaying dynamic content
13. What is ASP (Active Server Pages)?
  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.
14. What is the difference between client-side script and server-side script?
  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 execute
15. What happens when a client submits a form which changes the value of an Application variable?
  A. Client actions cannot change Application variables.
B. The change is not visible to any client until the application is stopped and started.
C. The change is only visible to future requests made by
16. What is Connection Pooling?
  Connection pooling is the process of managing the connections effectively and efficiently by optimize
17.  What are the advantages of Cookies over Session Object?
  • It informs each page what session the request belongs to when a user accesses during a session.
• It retrieves all the session information stored on the server.
• Cookies can persist for a much long
Sessions are server side objects which travels between client and web server. Cookies will not be use
18. What is Extranet?
  An area of a web site available only to a set of registered visitors.
Extranet is group of computers which are specific for a group may be using MAN
19. What is the order of execution for an ASP application?
  1) Global.asa
2) Server-side Includes
3) Jscript scripts tagged within <SCRIPT> tags
4) HTML together with scripts tagged within <% … %> delimiters
5) VBScripts tagged within <SCRIPT>
20. How do you implement paging in asp?
  To implement paging we can use the property of ADO record set PageSize, pageCount, and absolutePage.
21. What is the difference between Server.CreateObject and <OBJECT> tag ?
  Both are used to create objects in ASP. The Server.CreateObject method creates an instance of the object immediately called early binding. However, the <OBJECT> element only creates an instance of the object it specifies when we first reference that object it called late binding.
22. What is Response.Redirect, Server.transfer and Server.Execute?
  Response.Redirect : In this the redirection is actually happening on the client, not on our server.
Server.Transfer : In this case control passes immediately to another page and control does not pass back to the original page.
Server.Execute : In this case control passes immediately to another page and control return back to the original page after executing.
23. How can you download an ASP page output in excel format.
  Set page Response.Content property to excel.
24. How you can pass values to next page and back to the current page by using Server.Execute?
  By using Session, Request and Response objects
25. Does asp maintain state for user?
26. How do you handles errors in asp?
  By using VB Script Error objects, On error goto <Label>, On Error Resume Next
27. What is default session time out value, and how you can change this value?
  20 Minute, we can change the value by using Session.TimeOut=<value> in .asp page or global.asa file.
28. What is default script time out value, and how you can change this value?
  The default value is 90 seconds and you can change this value by using Server.ScriptTimeout = <value>
29. What is Cookies in ASP?
  A cookie is small text file is created in users computer, ASP pages store and retrieve cookie value to and from user system. You can use Response.Cookies("key")=value to create cookie and value=Request.Cookies("key") to retrive the value.

Next  Visual Basic .NET and C#         Go back to Interview Question Main

(C) Atanu Maity, 2006-2017