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

Here's the General Background on our project work: We need your help building out a new application that's part of a new startup in the Silicon Valley. We've built a fairly s

Determining salvage value of an item - C# Program I am a learner of C# language and i am struggling with the programming functions in c#. Can you have any code examples for th

Briefly explain the characteristics of reference-type variables that are supported in the C# programming language. The variables that are based on reference types keeps referen

What is difference between abstract classes and interfaces? The difference b/w abstract and interfaces are s follows:- 1.     The Abstract classes can have concrete methods

The Full form of CLR is Common Language Runtime and it is  the heart of the .NET framework. All Languages have its own runtime and its the responsibility of the runtime to take car

Project Description: We want to prepare a package forwarding website. Package forwarding refers to a service where US forwarder provides International shoppers with a US address

How different are interface and abstract class in .Net? Abstract classes cannot be instantiated it can have or cannot have abstract method basically called as must inherit as t

What is three tier architecture? The 3 tier software architecture was comes into action in the 1990s to overcome the limitations of the 2 tier architecture. There are 3 laye

What is CodeDom The "CodeDom" is an object model that represents actually a source code. It is designed for language independent - once you create a "CodeDom" hierarchy for a p