ASP Programming

  Home  Microsoft .Net Technologies  ASP Programming


“Learn ASP Programming by Interview Questions and Answers.”



194 ASP Programming Questions And Answers

22⟩ Explain the POST & GET Method or Explain the difference between them in ASP?

POST METHOD in ASP:

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 in ASP:

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.

 172 views

26⟩ What is a "Virtual Directory"?

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.

 175 views

28⟩ What is Collection?

Collection is a set of name/value pairs where the information supplied by the client is stored.

 181 views

29⟩ What is Request Object?

It gets information from the user. It has five collections by which values can be accessed. They are: Query string, Form, Cookies, Server Variables & Client Certificate.

 182 views

30⟩ What is Extranet?

Extranet is an area of a web site available only to a set of registered visitors.

 198 views

33⟩ What is Query string collection?

This collection stores any values that are provided in the URL. This can be generated by three methods:

By clicking on an anchor tag <A>

by sending a form to the server by the GET method

through user-typed HTTP address

 212 views

35⟩ When does the application On End event handler fire?

A. After every request for an application document, since web servers are stateless servers.

B. As soon as there are no open connections to any application document.

C. When the web server is stopped in an orderly fashion. (Answer)

D. Twenty minutes after the last request for a document in the application.

E. When there are no application requests for the amount of time defined by the Session Timeout variable.

 200 views

36⟩ What is a variable?

Variable is a memory location through which the actual values are stored/retrieved. Its value can be changed.

 198 views

37⟩ Explain the POST and 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.

 197 views

40⟩ 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.

 198 views