Skip to main content

Classic Asp Interview Questions

  1. What are the advantages of using ASP?

    HTML is used only to create static web pages (which displays information) With the use of ASP one can create dynamic web pages,where client can communicate with the web server and vice versa. Thus using ASP interactive webpages can be created.

  2. What is the maximum data can be sent as a querystring?

    Maximum length is 2084 in IE...

  3. what are the tools used for editing in IIS??

    IIS Metabase Explorer is a freeware tool to allow editing of the IIS metabase. Essentially this has a similar featureset to Microsoft's MetaEdit and Metabase Explorer except that it runs on all versions of Windows from 98 through to 2003. In addition the software includes a trace window feature which allows you to track all activity in the metabase including IIS itself or any other administration tool.

  4. What is connection pooling ?

    A connection pool is a set of database connections that are available for an application to use. Connection Pooling is the concept of using a connection pool for enhanced performance.

  5. How many types of cookies are available in asp?

    There are 2 types of cookies Persistent and Non-persistent

  6. What is http header?

    HTTP headers expose a great deal of information about your client as well as the server you are working, the application you are designing, as well as the environment you are in (SSL, etc.).The functionality for this is held in "Request.ServerVariables", so you only need to access that. For example, Request.ServerVariables("ALL_HTTP") or Request.ServerVariables("HTTP_USER_AGENT"). You need to know the specific name of the header that you want. It is extremely simple to display all the HTTP headers in ASP. Here's a code snippit that will do it for you: < % for each header in Request.ServerVariables response.write header & " = " & Request.ServerVariables(header) & " < br>< br> " next % > Just delete the spaces near the angle brackets and run it on IIS. You'll get a list of all the HTTP headers along with the actual value for the header. Make sure to try this with different browsers and on different computers with different operating systems if you can. You'll immediately see the differences.

  7. What is the difference between Server-side validation and Client-side validation?

    Client side validation is processed the client side before submitting the form. The advantage of using the client side validation is , it reduces the netork trafiic , since the validation is processed in the client machine itself. Eg, email, isnumeric, isdate etc.
    Server side validation is processed in the server. Some data cannot be validated in the client side and it has to be validated in the server side. Eg, Date between the two dates in the database

  8. How long is a SessionID guaranteed to be unique?

    It is unique per client. A client cannot have two sessions with the same SessionID.

  9. How to handle Error in ASP?

    Using On Error Resume Next

  10. What are the event handlers of Session Object?

    Application_OnStart – This event will be fired when the first visitor hits the page.
    Application_OnEnd – This event runs when the server is stoppe

  11. What is the result of using Option Explicit?

    All variables must be dimensioned before use.

  12. Which is the default Scripting Language on the client side?

    javaScript

  13. How are scripts executed?

    ASP provides scripting engines that execute the corresponding scripting languages on the server side. Scripts should be encoded within the "< %…. %"

  14. Explain the building blocks of Client/Server?

    The client side building block runs the client side of the application. The server side building block runs the server side of the application.

  15. Explain the POST & GET Method or Explain the difference between them.

    POST METHOD:
    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.
    GET METHOD:
    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

  16. What is a session?

    A user accessing an application is known as a session.

  17. 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 client's machine.

    • Provides improved security measures since the script cannot be viewed by the browser.

Comments

Popular posts from this blog

Top Open Source Web-Based Project Management Software

This is an user contributed article. Project management software is not just for managing software based project. It can be used for variety of other tasks too. The web-based software must provide tools for planning, organizing and managing resources to achieve project goals and objectives. A web-based project management software can be accessed through an intranet or WAN / LAN using a web browser. You don't have to install any other software on the system. The software can be easy of use with access control features (multi-user). I use project management software for all of our projects (for e.g. building a new cluster farm) for issue / bug-tracking, calender, gantt charts, email notification and much more. Obviously I'm not the only user, the following open source software is used by some of the biggest research organizations and companies world wild. For example, NASA's Jet Propulsion Laboratory uses track software or open source project such as lighttpd / phpbb use re...

Google products for your Nokia phone

Stay connected with Gmail, Search, Maps and other Google products. Check products are available for your Nokia phone Featured Free Products Search - Find the information you need quickly and easily Maps - Locate nearby businesses and get driving directions Gmail - Stay connected with Gmail on the go YouTube - Watch videos from anywhere Sync - Synchronize your contacts with Google

DotNetNuke Overview

DotNetNuke is the leading Web Content Management Platform for Microsoft .NET. DotNetNuke can be used as a web content management system (CMS) for simple websites or as a powerful application development framework which enables businesses to quickly build and deploy feature-rich, interactive websites and applications in Microsoft .NET. An intuitive, menu-driven interface allows non-technical users to easily create new sites or extend the functionality and features of their existing web site when used as a web CMS. An open API and the availability of over 6,000 third-party add-on modules available through Snowcovered.com allow web development professionals to create complex web sites for demanding applications. Installing new modules or skins is quick and easy, allowing users to deploy new functionality on their web sites in just minutes. DotNetNuke is the world’s most widely adopted framework for building web solutions on Microsoft Windows Server. DotNetNuke powers o...