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 want Text/Image printing Counter Project Description: Need your help in our C# programming project. We need to pass this project in two weeks starting from now to pass our

What is CAR (Causal Analysis and Resolution)? The basic purpose of the CAR is to analyze all the problems, defects, and good practices/positive triggers in projects, perform a

The Problem with finalize is that the garbage collection has to make 2  rounds in order to remove the  objects which have finalize methods. The figure below will make things cle

We are seeking for online invoice OCR solution. That will help us to automate accounts payable function. User could be able to use the existing pdf file or scan a document, then

C# Programming 1. What is .Net Framework? 2. Write short notes on constructors and destructors. 3. Explain boxing and unboxing with examples. 4. What is a mixed mode a

Create login page: Consider the login page for a typical webmail service, such as GMail or Outlook Mail. Your task for this assignment is to design a test plan for such a logi

Game development tutorials required Project Description: I need video tutorials like lynda for game development using unity. You must have developed games before and need to

I want a C# Windows App Project Description: Windows App written in C# that can: Check for Internet connection Load dynamic web site If Internet connection drops rec

What are queues and stacks? Stacks refer to a list in which all items are accessed and processed on the Last-In-First-Out (LIFO) basis. In a stack, elements are inserted (push

What are the different types of workflow in WF? In WF 4.0, the following two types of workflows are used: Flowchart workflows - Helps you to make workflows using the commo