Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
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, 5280👍, 0💬
Popular Posts:
When should the method invokeLater() be used? This method is used to ensure that Swing components ar...
How do you handle change request? Normally change request are handled by preparing an Impact analysi...
What is SMC approach of estimation?
Why is there extra white space before or after tables? This is often caused by invalid HTML syntax. ...
In C#, what is a weak reference? Generally, when you talk about a reference to an object in .NET (an...