ASP.Net Interview Question and Answers

6. What is the difference between ASP Session and ASP.NET Session?
  Asp.net session supports cookie less session & it can span across multiple servers.
 
Your Name Your Email-ID
Your Answer
7. What are the major built in objects in Asp.net?
 
    The major built in objects in Asp.net are as follows:
  • Application
  • Request
  • Response
  • Server
  • Session
  • Context
  • Trace
 
Suji,says Aug 20, 2014
Application, Request, Response.
Your Name Your Email-ID
Your Answer
8. What is the difference between Server.Transfer and Response.Redirect?
  Server.Transfer does not send any message to the browser but rather redirects the user directly from the server itself.
Response. Redirect sends message to the browser saying it to move to some different page.
 
Lalitha, said May 13, 2014
In server.transfer send the whole page to server but responce.redirect is sends the url equest to server and server gives responce to the browser durng the round-trip process.
Ami j.Sheth, said Apr 10, 2014
In server.transfer as the request is directly send to server when server responses only content of the content of the page changes rather the url as round trip is not involved where as in responce.redirect as first request is sent to browser and then browser sends this to server in response url is changed and round trip occurs
Adyasakti swain, said Jan 14,2014
server.transfer we can not navigate one site to other site but in responce.redirect we can,in server.transfer values are passed implicitly but in responce.redirect values are passed explicitly.
Ratnesh pandey, said Nov 27, 2013
In server.transfer we can not navigate one site to another but in responce.redircct we can server.transfer in faster while responce.redirect is slow bocoz it show rounde–trip.
Your Name Your Email-ID
Your Answer
9. What is a PostBack?
  The process in which a Web page sends data back to the same page on the server.
 
Your Name Your Email-ID
Your Answer
10. What is AutoPostBack?
  If you want a control to postback automatically when an event is raised, you need to set the AutoPostBack property of the control to True.
 
Your Name Your Email-ID
Your Answer