Cookie used for ASP. NET Programming cookie is a Web application
Program It provides a useful method to save user information. For example, when a user accesses your site, you can use cookies to save user preferences or other information, so that
Reprinted: http://www.chinawebanalytics.cn/%E6%8D%8D%E5%8D%ABcookie%E2%80%94%E2%80%94%E6%B2%A1%E6%9C%89cookie%EF%BC%8C%E6%88%91%E4%BB%AC%E4%BB%80%E4%B9%88%E9%83%BD%E6%B2%A1%E6%9C%89%E4%BA%86/
Before starting the text, let's talk a little bit about
0x00 IntroductionIn the history of Web technology, the advent of cookie technology is a major change. However, Cookie technology is a very controversial technology, from the date it was born into a vast network of users and web developers of a
Cookie technology is a very controversial technology, since its inception it has become a vast number of network users and web developersA point of contention. Some Internet users, even some senior web experts, are dissatisfied with its generation
1. What is Cookie?Cookie is a short text message that is transmitted between the Web server and the browser along with user requests. Each time a user accesses a site,
Web ApplicationsProgramCan read the information contained in the cookie.Assume
Are cookies useless?
Reply content:
Is the cookie useless?
It seems that no one focuses on it.
To put it simply, session stores the link status/data on the server. Cookies record the link status/data on the browser.
The HTTP protocol is
I. Differences between cookie and session mechanisms
Specifically, the cookie mechanism adopts the client-side persistence scheme, while the session mechanism adopts the server-side persistence scheme.
At the same time, we can also see that the
One, know the Cookies object
Cookies are a collection of data that is managed by the Web server and stored in a client computer. This data is client, server-side related. That is to say, every time a client's browser logs on to a website, the
Describes the differences between cookies and sessions in PHP and the usage summary of cookies and sessions. The differences between cookies and sessions in PHP and the usage of cookies and sessions are described in detail. Specifically,
The difference between a cookie mechanism and a 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
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.