Change the DW to the default encoding of UTF-8 charset and compiler encoding .Programming under Windows, when using the Session_Start () method, is sometimes reported session_start () [Function.session-start]: Cannot send session cache limiter-
When I was using php sessions today, I encountered a problem that could not be solved before. The following prompt appears on the page:Warning: session_start () [function. session-start]: Cannot send session cache limiter-headers already sent
When I was using PHP sessions today, I encountered a problem that could not be solved before. The following prompt appears on the page:
Warning: session_start () [function. session-start]: cannot send session cache limiter-headers already sent
Today in the use of PHP session, there have been previously met but can not solve the problem, on the page appears the following prompts:
Warning:session_start () [Function.session-start]: Cannot send session cache Limiter-headers already sent
When you run the PHP page, the following error occurs: "Cannot send session cache limiter-headers already sent by ()" or "function session_start ()", which is a headache. This is not the first time. To help you better understand the problem, write
Session_start ();
If cookie-based session is used, the browser cannot output any output before Session_start () is used, otherwise, the "Cannot send session cache limiter-headers already sent" error may occur. Therefore, make sure that
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
1, what is the session.
The Chinese translation of the session is called "conversation", whose meaning is a series of actions/messages from the beginning to the end, such as calling from the phone to the telephone to hang up the phone in the middle
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.