Set - 2

Question 6 :

What are the advantages of using ASP?

Answer :

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


Question 7 :

What are the methods in Application Object?

Answer :

Lock prevents clients from modifying the variables stored in the Application object.
Unlock removes the lock from variables stored in the Application object.


Question 8 :

What are the methods in Application Object?

Answer :

Internet Information Server (IIS) on Windows NT
Personal Web Server (PWS) on Windows 95
Peer Web Services on Windows NT


Question 9 :

What are the browsers that can access ASP pages?

Answer :

Internet Explorer (supports VBScript, JavaScript)
Netscape Communicator/ Navigator (supports only JavaScript, VBScript can be also added too)
How does the server identify and execute the server-side scripts within HTML code?
Including the RUNAT=SERVER attribute


Question 10 :

What are the methods by which output stream is controlled?

Answer :

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.