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
Explain different software development life cycles. The System Development Life Cycle (SDLC) is the overall process of developing information systems through multi stage proces

What is an IL? Intermediate Language is also called as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. IL

Project Description:                                   Urgently require an expert with good knowledge of writing experience and UML diagrams. This project requires technologi

What are design patterns? The Design patterns are recurring solution to the recurring problems in the software architecture. There are 3 basic classification of patterns Behavi

What is Full Trust? Your code is permitted to do anything in the framework, meaning that all (.Net) permissions are granted. The GAC has Full Trust because it's on the local HD

Project Description: College erp Erp key features: Panacea ERP Online Suite is server based college based management software. Gives Password facility for different use

I have a site that's already fully developed, and need to solve some small issue (Text editor posting error, and a Server error caused by some Nhibernate code.) Server Error in

Describe the various components in sequence diagrams. Object lifeline: - It shows the lifetime of an object creation and its destruction. If the object is created or des

Types of Transactions in COM + .NET There are 5 types of transactions that can be used with COM+.   An object is whenever registered with the COM+ it has to abide either to any

What is LOCK escalation? The Lock escalation is the process of converting of the low level locks (such as row locks, page locks) into the higher level locks (such as table lock