What is a session?
The Chinese translation of the session is called "conversation", its original meaning refers to the beginning and end of a series of actions/messages, such as phone calls from the pick up the telephone to hang up the phone in the
Session is divided into two parts, session space is stored on the server side, open the ID of the space in the client's cookie, if the client shuts down the cookie,session can not be used normally.
Source: http://wsiyu.com/read.php?tid=526
The
Compared with cookies in PHP Development, session is stored on the server side, which is relatively secure and has different storage length limits than Cookie, this article briefly introduces the use of session compared to cookies in PHP Development.
Compared with cookies, Session is stored on the server, which is relatively secure and has no storage length limit as Cookie does. This article briefly introduces the use of Session. The Session is stored on the server as a text file, so the client
Php session and cookie 1. PHP COOKIE
Cookie is a mechanism for storing data in a remote browser and tracking and identifying users. PHP sends cookies in the http header. Therefore, the setcookie () function must be called before other information
Example analysis of the difference between cookie and session in PHP, cookie instance analysis
Cookies and sessions are very important techniques in PHP programming. In-depth understanding and mastering the application of cookies and sessions is
Compared with cookies in PHP Development, Session is stored on the server, which is relatively secure and has a storage length limit unlike Cookie. This article briefly introduces the use of Session. The Session is stored on the server as a text
1. PHP COOKIE
Cookie is a mechanism for storing data in a remote browser and tracking and identifying users. PHP sends cookies in the http header. Therefore, the setcookie () function must be called before other information is output to the browser,
1. PHP COOKIECookie is a mechanism for storing data in a remote browser and tracking and identifying users. PHP sends cookies in the http header. Therefore, the setcookie () function must be called before other information is output to the browser,
Security | program PHP is a cross-platform server-side embedded scripting language. It borrows heavily from the syntax of the C,java and Perl languages and is coupled with PHP's own features, enabling Web developers to quickly write dynamically
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.