asp.net Cookie overview
Cookies provide a way to store user-specific information in a WEB application. For example, when a user accesses your site, you can use cookies to store user preferences or other information. When the user accesses your Web
Session tracking is a common technique used in Web programs to track the entire session of a user. Common session-tracking techniques are cookies and sessions. The cookie determines the user identity by logging information on the client, and the
Session is a server-side storage space maintained by the application server. When you connect to the server, the server generates a unique SessionID, use this SessionID as the identifier to access the Session bucket on the server. SessionID is saved
The difference between cookie mechanism and session mechanismIn particular, the cookie mechanism uses a scheme that maintains state on the client, while the session mechanism uses a scenario that maintains state on the server side.At the same time,
Cookies and sessionc# on the server, JS in client client authentication is not a substitute for service-side validationHttpHTTP belongs to the application layer, the HTTP protocol has five major features: 1, support client/server mode, 2, simple and
, cookie mechanism and the difference between the session mechanism
*************************************************************************************
Specifically, the cookie mechanism is a scheme for maintaining state on the client side, and
The difference between session and Cookie
Object
Information size
Save time
Application Range
Save location
Session
Small, simple data
User activity time + a delay time (typically 20 minutes)
The difference between cookie mechanism and session mechanism*************************************************************************************Specifically, the cookie mechanism is a scheme for maintaining state on the client side, and the
I. Introduction of cookies and sessionCookies are not part of the HTTP protocol, and because the HTTP protocol is not able to maintain state, we need to "keep state" in reality, so cookies are born in such a scenario.A cookie works by creating
Cookies. Some people like them and some hate them. However, few really know how to use them. Now you can become a member of a few people-a cookie master who can be proud of himself.
If you have a bad memory like an author, you may not be able
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.