This article mainly introduces PHP Session control: Session and Cookie Details. This article describes Session and Cookie related knowledge in PHP in detail and covers a wide range of topics, for more information about PHP session control, see the
This article introduced the PHP session control, mainly elaborated the following several things:
• Background/concept of Session controlMaintenance and life cycle of • Cookies (effective time)Maintenance and life cycle of session (recovery
Session trackingSession tracking is a common technique used in Web programs to track a user's entire session. Commonly used session tracking technology for cookies and sessions. The cookie determines the user's identity by logging information on 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
ObjectiveThe front spent a few blog introduction of the servlet, speaking very detailed. This article introduces you to cookies and session.I. Session Overview 1.1, what is a session?A session can be simply understood as: A user opens a browser,
See a good article on the Internet, write in detail.The following references the blog post. Reproduced in the "http://www.cnblogs.com/whgk/p/6422391.html", this is only for the purpose of learning reference.First, the session mechanismA common
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
the difference between a cookie mechanism and a session mechanism
In 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.
We also
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,
I. Differences between cookie and session mechanisms
**************************************** **************************************** *****
Specifically, the cookie mechanism adopts the client-side persistence scheme, while the session mechanism
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.