-
When is the Session_OnStart event fired?
A. Upon every request from an application by a client for an .asp document. B. Upon the first request from an application by a client for any file in the application. C. Upon the first request for an .asp document from an application by a client. D. Upon the first request for the global.asa file, in which the event handler is located. E. Upon the first request for an. html or .asp document from an...
-
What must be installed on an IIS4 machine to use the CDONTS e-mail server object?
A. FTP service B. SMTP service C. IIS administrator D. Exchange Server E. IPX/SPX protocol
-
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 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...
-
What is HTML(Hypertext Markup Language)?
It’s a method by which web pages can be built and generally used for formatting and linking text.
-
What is a Web Server?
It’s a Computer that provides Web services on the Internet or on a local Intranet. It is designed to locate, address and send out simple HTML pages to all other users who access these pages.
-
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 Request Object?
Gets information from the user. It has five collections by which values can be accessed. They are: Querystring, Form, Cookies, Server Variables & ClientCertificate
-
What is Collection?
Collection is a set of name/value pairs where the information supplied by the client is stored.
-
What is application Object?
Shares information among users of an application. Gives a notification when an application starts or ends.
-
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 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.
-
%>
Referring to the above, if you want to pass the contents of the strName variable in a hyperlink, which line of code would you use?"><% strName="John Smith" %> Referring to the above, if you want to pass the contents of the strName variable in a hyperlink, which line of code would you use?
A. This cannot be done. The anchor is on the client and the variable is on the server. B. href="Encode.asp?
-
What purpose is served by the Application.Lock method?
A. It locks the Application object, preventing other clients from altering any values in the Contents collection. B. It locks the application, preventing the server from responding to any requests for application documents. C. It locks the application, preventing non-SSL requests from being processed. D. It locks the Application object, preventing other clients from reading any values in the Content...
-
Using VBScript, which of the following Scripting Object(s) is NOT available from scrrun.dll?
A. TextStream B. Dictionary Object C. Err Object D. FileSystemObject E. All are available from scrrun.dll.
-
What is an .ASP file?
It is a Text File that contains the combination of the following: • Text • HTML tags • Script Commands
-
How are scripts executed?
ASP provides scripting engines that execute the corresponding scripting languages on the server side. Scripts should be encoded within the <%…. %> Delimiters.
-
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)
-
Give the comment Tags for the following:
VBScript : REM & ‘(apostrophe) JavaScript : // (single line comment) /* */ (Multi-line comments)
-
How can you disable the browser to view the code?
Writing codes within the <! -- //-- > Tag.
ASP Interview Questions
Ans