Top ASP Interview Questions :: ALLInterview.com http://www.allinterview.com Top ASP Interview Questions en-us What is difference between Server.transfer and Response.redirect ? http://www.allinterview.com/showanswers/5529.html server.trasfer directly transfer the execution of a page to another page without taking the client into the picture.while response.redirect sends the response to the client browser and directs him to make a request to call a page( called roun How many types of cookies are there? http://www.allinterview.com/showanswers/5528.html There are 2 types of cookies: (1) Session Based which expire at the end of the session. (2) Persistent cookies which are written on harddisk. What is the difference between client-side script and server-side sc http://www.allinterview.com/showanswers/7522.html Scripts executed only by the browser without contacting the server is called client-side script. It is browser dependent. The scripting code is visible to the user and hence not secure. Scripts executed by the web server and processed by the What are the advantages of Cookies over Session Object? http://www.allinterview.com/showanswers/7532.html ? It informs each page what session the request belongs to when a user accesses during a session. ? It retrieves all the session information stored on the server. ? Cookies can persist for a much longer period of time than session that has What is the difference between ASP and HTML? http://www.allinterview.com/showanswers/7494.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 Tell something about Active Server Pages? http://www.allinterview.com/showanswers/18178.html Asp is Specification. Specification: It follows the rules of technology If we take c#, it is a technology. Asp follows the c# technology. What does Server.MapPath do? http://www.allinterview.com/showanswers/5533.html Maps a virtual or relative path to a physical path. Syntax: x = Server.MapPath( string ) Parameters: string - string containing the path to be translated The method returns new string containing the physical path corresponding to the pat What is Server Object? http://www.allinterview.com/showanswers/7534.html It Controls the ASP execution environment. It can set the amount of time script can run before an error occurs. Converts a virtual path to a physical path on the server. Takes a user supplied string and encode it into proper format for a URL How many objects are there in ASP? http://www.allinterview.com/showanswers/5526.html There are 6 objects in ASP. What is the difference between Querystring collection and Form colle http://www.allinterview.com/showanswers/7526.html The main difference is that the Querystring collection gets appended to a URL(with a ?) and can be generated by three ways whereas the Form collection is sent as part of the HTTP request body and there is only way to generate a Form collectio What is Extranet? http://www.allinterview.com/showanswers/7536.html An area of a web site available only to a set of registered visitors. can we place Global.asa into "bin" directory instead of Ro http://www.allinterview.com/showanswers/15158.html no What's the purpose of using BUFFER property? http://www.allinterview.com/showanswers/5014.html It stores entire page into buffer until it is fully retrieved from the Server. What is the code for closing the form(using controls) instead of dir http://www.allinterview.com/showanswers/28491.html Unload Me How will you delete a Cookie? http://www.allinterview.com/showanswers/7533.html By setting its Expires property to any date prior to today Response.Cookies("cookie name").Expires = Date ? 1.