.Net Interview Questions and Answers

Search:

ASP.NET interview questions: - How will you describe the benefits and limitations of using Cookies?

By : Shiv Prasad Koirala | Aug 10th, 2011 | Views : 648 | Comments : 0 Bookmark and Share

ASP.NET interview questions: - How will you describe the benefits and limitations of using Cookies?

A simple but most frequently asked ASP.NET interview question.

Following are benefits of using cookies for state management:-

• No server resources are required as they are stored in client.
• They are light weight and simple to use

Following are limitation of using cookies:-

• Most browsers place a 4096-byte limit on the size of a cookie, although support for 8192-byte cookies is becoming more common in the new browser and client-device versions available today.
• Some users disable their browser or client device’s ability to receive cookies, thereby limiting the use of cookies.
• Cookies can be tampered and thus creating a security hole.
• Cookies can expire thus leading to inconsistency.

Below is sample code of implementing cookies

Request.Cookies.Add(New HttpCookie (“name”, “user1”))


See the following MEF (Managed Extensible Framework) & it’s practically implemented video: -






Explore for more ASP.NET interview questions tutorials.

Regards,

From Author’s blog see other blog linksASP.NET interview questions
 

 
Rate this Article :
1 Star
2 Stars
3 Stars
4 Stars
5 Stars
0 1 1 2 1
 
Article Tags :
 
Comments

Write a Comment

All fields marked with * are mandatory

e01b2

 

 

ASP.NET interview questions: - Can you explain Method of Sorting GridViewcontrol in ASP.NET?

Sorting allow you to sort the GridViewcontrol data in Ascending or Descending order.... Read More

WCF Interview questions:- Which binding do we need to use for WCF REST?

In this article we will show Binding used for WCF REST. For more articles and videos visit us on www.questpond.com... Read More

.NET interview questions: - Can you elaborate project life cycle?

In this article we will explain about project life cycle. For more articles and videos visit us on http://www.questpond.com/... Read More

.NET interview questions: - How will you distinguish between ForeGround and BackGround Threading?

threading is a parallel processing unit and helps you to access multiple tasks at a one moment of time.... Read More

C# interview questions: - Explain anonymous methods in .NET?

n simple words Anonymous Methods means method which are coded inline or methods without method name.... Read More

ASP.NET interview questions: - Can you explain Method of Sorting GridViewcontrol in ASP.NET?

Sorting allow you to sort the GridViewcontrol data in Ascending or Descending order.... Read More

WCF Interview questions:- Which binding do we need to use for WCF REST?

In this article we will show Binding used for WCF REST. For more articles and videos visit us on www.questpond.com... Read More

.NET interview questions: - Can you elaborate project life cycle?

In this article we will explain about project life cycle. For more articles and videos visit us on http://www.questpond.com/... Read More

.NET interview questions: - How will you distinguish between ForeGround and BackGround Threading?

threading is a parallel processing unit and helps you to access multiple tasks at a one moment of time.... Read More

C# interview questions: - Explain anonymous methods in .NET?

n simple words Anonymous Methods means method which are coded inline or methods without method name.... Read More

Article Categories