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...
What are the collections of application object?
* contents collection contains all variables added via scripts in GLobal.Asa. * static collection contains the names of all objects added via the <object> tag in GLobal.Asa.
The collections of application objects are:
1. Content application object which contains all the items appended to the application through a script command.
2. StaticObjects which contains all the objects appended to the application with the HTML
What are the properties used to control the expiration of the page?
expires specifies the number of minutes before a page cached on a browser expires. expiresabsolute sets the date and time at which a page cached on a browser expires.
The properties used to control the expiration of the page are Expires and ExpiresAbsolute.
Naming constraints for a variable.
It can be up to 255 characters must start with an alphabet must not contain an embedded period or full-stop
For naming constraint of a variable must always start with an alphabet without including any special character of full stop,it may contain up to 255 characters.
What are the browsers that can access asp pages?
internet explorer (supports vbscript, Javascript) netscape communicator/ navigator (supports only Javascript, vbscript can be also added too)
The browser that can access asp pages are Internet Explorer and Netscape Communicator.
Give the comment tags for the following:
Vbscript : rem & (apostrophe) Javascript : // (single line comment) /* */ (multi-line comments)
In java script the comment tag are // is used as single line comment and/* ...... */ is used as multi line comment.
In vbscript we use apostrophe ( ) for commenting.
How does the server identify and execute the server-side scripts within HTML code?
including the runat=server attribute in the <script> tag use <% %> server script delimiter
The server identify and execute the server-side scripts within HTML code by using <% %> server script delimiter and by including the RUNAT=SERVER attribute in the
1. It is used for interactive pages which are dynamically generated. 2. It provides server side scripting. 3. The page consists of HTML and scripting language code. 4. It is flexible and powerful comp...