ASP.Net Interview Question and Answers

6. What is the difference between ASP Session and ASP.NET Session? 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
    The major built in objects in 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.
Gowardhan Shingate, said March 01, 2018
Server.Transfer goto next page but display previous page url. And Response.Redirect goto next page and also display same url.
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.
Tony Martin, said July 17, 2018
Autopostback is the mechanism, by which the page will be posted back to the server automatically based on some events in the web controls. In some of the web controls, the property called auto post back, which if set to true, will send the request to the server when an event happens in the control.
Your Name Your Email-ID
Your Answer