Posts

Showing posts with the label asp

Asp Interview Questions and Answers Part 4

Image
What are the collections of Session Object? Contents collection contains all the variables established for a session without using the tag. Static collection contains all the objects created What is the difference between ASP and HTML? Or Why ASP is better than HTML? - ASP executes code on the server side whereas the browser interprets HTML. - ASP can use any scripting languages - Gets feedback from the user and return information to the user - Create pages that will be customized to display only things that will be of interest to a particular user - Can edit contents of a web page by updating a text file or a database rather than the HTML code itself What are the event handlers of Application Object? Application_OnStart- This event will be fired when the first visitor hits the page. Application_OnEnd- This event runs when the server is stopped. Name some of the ASP components? Ad Rotator component- a way to manage advertisements on the web site. Content Linker component - a techn...

Asp Interview Questions and Answers Part 3

Image
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 Delimiters. 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. What is a session? A user accessing an application is known as a session. What is ClientCertificate collection? A ClientCerti...

Asp Interview Questions and Answers Part 2

Image
What is the Order of precedence for LOGICAL Operators. NOT, AND, OR, XOR, EQV, IMP What is an Err Object? Name it’s properties and methods. What are LOCAL and GLOBAL variables? Local variables lifetime ends when the Procedure ends. Global variables lifetime begins at the start of the script and ends at the end of the script and it can be used by any procedure within the script. Declaring a variable by using the keyword PRIVATE makes the variable global within the script, but if declared using PUBLIC, then all scripts can refer the variable. Which is the default Scripting Language on the client side? JavaScript 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 is Session Object? I...

Asp Interview Questions and Answers Part 1

Image
What is ASP? ASP stands for Active Server Pages. It is a server side technology which is used to display dynamic content on web pages. For example you could write code that would give your visitors different information, different images or even a totally different page depending on what browser version they are using. How can you disable the browser to view the code? Writing codes within the Tag Question 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. Give the comment Tags for the following? VBScript : REM & ‘(apostrophe) JavaScript : // (single line comment) /* */ (Multi-line comments) Which is the default Scripting Language of ASP (server-side)? VBScript Which is the default Data types in VBScript? Variant is the def...