Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
What are benefits and limitations of using Cookies
What are benefits and limitations of using Cookies?
✍: Guest
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.
ã Some users disable their browser or client devicefs ability to receive cookies,
thereby limiting the use of cookies.
ã 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💬
Popular Posts:
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...