Top ASP Interview Questions :: ALLInterview.com http://www.allinterview.com Top ASP Interview Questions en-us 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 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 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 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 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 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 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 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. 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 the code for closing the form(using controls) instead of dir http://www.allinterview.com/showanswers/28491.html Unload Me What is the difference between Cookies collection and Form/Querystri http://www.allinterview.com/showanswers/7528.html Cookie collection does not have the Count property. Cookies can have multiple values for the same cookie name but each value can be referred using a key whereas in a Form/Querystring cookie each value has to be referred using a index value. What are the event handlers of Session Object? http://www.allinterview.com/showanswers/7531.html ? 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. What is a TextStream object? http://www.allinterview.com/showanswers/7535.html It allows you to access [read/write] the contents of text files stored on the web server.