ASP.Net Interview Question and Answers

11. What is a round trip?
  The trip of a Web page from the client to the server and then back to the client is known as a round trip.
 
Anurag, said Mar 08, 2014
A full life cycle of any web page is called round trip.
Your Name Your Email-ID
Your Answer
12. What are the types of Cookies in Asp.net?
 
    There are two types of Cookies available in Asp.net :
  • Session Cookie
  • Persistent Cookie
 
Anagha, said Feb 06, 2014
Temporary Cookie – It is stored on client’s RAM. It is transferred with request and response. Internally all cookies are Temporary.
Persistent/ Permanent Cookie–It is stored as a file on client’s Hard disk.
Your Name Your Email-ID
Your Answer
13. What is the difference between Session cookie and Persistent cookie?
 
    Session Cookie :
  • Resides on the client machine for a single session until the user does not log out.
    Persistent Cookie :
  • Resides on a user’s machine for a period specified for its expiry, such as 10 days, one month and never. The user can set this period manually.
 
Your Name Your Email-ID
Your Answer
14. Which is the parent class of the Web server control?
  The System.Web.UI.Control class is the parent class for all Web server controls.
 
Your Name Your Email-ID
Your Answer
15. Which Asp.net objects encapsulate the state of the client and the browser?
  The Session object encapsulates the state of the client and browser.
 
Your Name Your Email-ID
Your Answer