techpreparation-homepage

Home  Interview Questions  Certifications  Aptitude Questions  Tutorials  Placement Papers  Search  Resume  Soft Skills  Video  Forum  Blog

Android app on Google Play

Technical Interview Questions
Asp.Net Interview Questions
Dot Net Interview Questions
Java Interview Questions
C Interview Questions
                              .........More

Source Codes
Asp.Net Source Codes
Asp Vb Script Source Codes
                              .........More

Soft Skills
Communication Skills
Leadership Skills
                              .........More

 

 

  

Asp Interview Questions and Answers


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 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.

< SCRIPT LANGUAGE="VBScript" RUNAT=Server >
a = 1
< /SCRIPT >
< SCRIPT LANGUAGE="VBScript" >
a = 2
< /SCRIPT >
< %
Response.Write a
% <
In the sample code shown above, what will be written to the screen?

A. 1
B. 2
C. 1, 2
D. 1&2
E. Nothing. (Answer)

< % iPos = Instr("Hello World","r") % <
Referring to the above, what is the value of iPos?

A. 0
B. 1
C. 2
D. 8
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?
Request Object
Response Object
Server Object
Session Object
Application Object

Page Numbers :   1        2        3        4        5        6

Have a Question ? post your questions here. It will be answered as soon as possible.

Check Microsoft .net Interview Questions for more .Net Interview Questions