How will you delete a Cookie?
By setting its Expires property to any date prior to today
Response.Cookies("cookie name"). Expires = Date 1.
What is the function of Buffer in Response Object?
Buffer controls the HTML output stream manually.
How are scripts executed?
ASP provides scripting engines that execute the corresponding scripting
languages on the server side. Scripts should be encoded within the
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.
What are ARRAYS?
Arrays are variables that store items of similar information.DIM
ARRAY1(4) (declares an array with the name array1 with 5 elements)
What is Application-scope?
Application-scope means that variables (and objects) can be accessed
from any ASP pages that is part of the application.
What is Extranet?
An area of a web site available only to a set of registered visitors.
< SCRIPT LANGUAGE="VBScript" RUNAT=Server >
a = 1
< /SCRIPT >
< SCRIPT LANGUAGE="VBScript" >
a = 2
< /SCRIPT >
In the sample code shown above, what will be written to the screen?
C. 1, 2
E. Nothing. (Answer)
< % iPos = Instr("Hello World","r") % <
Referring to the above, what is the value of iPos?
E. 9 (Answer)
What are the types of HTML?
Static HTML Browser uses HTTP to request HTML file from the Web Server
Dynamic HTML Browser uses HTTP to request an executable application
rather than a Static HTML file
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 determines the code page that will be used to display content.
LCID a locale identifier, which determines time zone and language, rules
for the system
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.
Name the ASP Objects?