Benefits and limitations of using cookies, DOT NET Programming

What are benefits and limitations of using Cookies?

The benefits of using cookies for state management are as follows:-

1)    There is no server resources required as they are stored in client.

2)    They are light in weight and simple to use

The limitation of using cookies is as follows:-

1)    The Most browsers place a 4096-byte limit on the size of a cookie, although support for 8192-byte cookies is becoming more general in the new browser and client-device versions available today.

2)    Some of the users disable their browser or client device's ability to receive the cookies, thereby limiting the use of cookies.

3)    The Cookies can be tampered and thus creating a security hole.

4)    The Cookies can expire thus leading to inconsistency.

Below is sample code of implementing cookies

Request.Cookies.Add(New HttpCookie("name", "user1"))

Posted Date: 9/22/2012 1:16:31 AM | Location : United States







Related Discussions:- Benefits and limitations of using cookies, Assignment Help, Ask Question on Benefits and limitations of using cookies, Get Answer, Expert's Help, Benefits and limitations of using cookies Discussions

Write discussion on Benefits and limitations of using cookies
Your posts are moderated
Related Questions
I have a responsive database structure and web template. I need someone to prepare the code (.net, jquery ) to make interaction with database . Insert, edit , save . Plus a custom

What are indexes? The Indexes in the SQL Server are similar to the indexes in books. They help SQL Server to retrieve the data quickly.These are classified into clustered and n

Project Description: I have a website that I have prepared, but I would like someone to make it look nicer. Most of the functionality is there, but I need help with design which

What is the difference between proc. sent BY VAL and By Ref? By val: changes will not be reflected back to the variable. By ref: changes will be reflected back to that varia


Project Description: Legacy ASP.NET application for managing tasks for a private client needs a complete re-write. The application has approximately 2500 lines of code, combi

ASP .NET MVC Tutor Project Description: Work with me and assist with troubleshooting lessons, describe in easy to understand terms how to accomplish certain tasks, provide co

Fixing chrome problem Problem 1- Booksearcha.asp and bookrstep2.asp on allreaders.com (bookrstep2 only accessible from bookrstep1.asp) utilize scroll down menus at times. In Chr

What is the difference between VB6 and VB.Net? VB6 1.       It is Object-based Language 2.       It Does not support Threading 3.       Not powerful Exception handli

I need Remote chat Application for desktop Project Description: I want a team of .net experts who will design me a website and a remote desktop chat application as like  live