ASP

ASP Tutorial

ASP Tutorial

ASP Projects

ASP Project

ASP Examples

ASP EXAMPLE

ASP Interview Questions And Answers
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 application by client

More interview questions and answers

a program to print addition,subtraction,multiplication,division of any two number?

Give Introduction Of ASP.

ASP is a Microsoft Technology .Which stands for Active Server Pages. ASP is web base programming languages like jsp, php etc which runs inside IIS(Internet Information Services).

What is difference between ASP ,JSP and PHP?

What is IIS?

IIS is a Web Server that provides Web services, not only for web pages but also for ftp sites and video and audio services. It integrates with the database facilities of SQL Server.

What is Query string collection?

This collection stores any values that are provided in the URL. This can be generated by three methods:

By clicking on an anchor tag

By sending a form to the server by the GET method

Through user-typed HTTP address. It allows you to extract data sent to the server using a GET request.

How to handle Error in ASP?

A. Using On Error Goto <ErrorPart>

B. Using On Error Resume

C. Using On Error Resume Next (Answer)

D. Using On Error Goto 0

How many types of cookies are available in asp?

There are 2 types of cookies

Persistent and Non-persistent

Persistent cookies are stored on your computer hard disk. They stay on your hard disk and can be accessed by web servers until they are deleted or have expired. Persistent cookies are not affected by your browser setting that deletes temporary files when you close your browser.Non-persistent cookies are saved only while your web browser is running. They can be used by a web server only until you close your browser. They are not saved on your disk. Microsoft Internet Explorer 5.5 can be configured to accept

non-persistent cookies but reject persistent cookies.

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.

Virtual directories are the directory it can access the data into one drirectory to another directory.


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 application by client

What is Global.asa file?

It is text file that contains details about an ASP application, such as when it should begin and end.

How long is a SessionID guaranteed to be unique?

A. It is unique for the web server, whether it is restarted or not.

B. Only until the web server is restarted.

C. It is like a GUID in that it is for any web server at any time.

D. Only until the session expires, then it can be reissued to another client. (Answer)

E. It is unique per client. A client cannot have two sessions with the same SessionID

What is the difference between Server.Transfer and response.redirect ?

Server.Transfer is used when redirecting the webpage with in the same application whereas Response. Redirect is applicable towards the redirection of webpage between 2 applications

Response.Redirect will instruct browser to call a particular webpage. This will increase one request and one response between the client and server.

What are the ASP Scripting Objects?

The Dictionary object, the FileSystemObject object, TextStream object.