What are benefits and limitations of using Cookies
What are benefits and limitations of using Cookies?
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.
ã 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(gnameh, guser1h))
2007-10-23, 4482👍, 0💬
What's the difference between J2SDK 1.5 and J2SDK 5.0? There is no difference, Sun Microsystems just...
What is COCOMO I, COCOMOII and COCOMOIII? In CD we have a complete free PDF tutorial of how to prepa...
How To Delete All Rows a Table? - MySQL FAQs - Understanding SQL INSERT, UPDATE and DELETE Statement...
Can two catch blocks be executed? No, once the proper catch section is executed the control goes fin...
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...