Home > Article > Backend Development > session Cannot send session cache limiter error message_PHP tutorial
session cannot send session cache limiter error message
You will often encounter the following prompts at the beginning
warning: session_start() [function.session-start]: cannot send session cache limiter - headers already sent (output started at e:php tutorialwww.bKjia.c0madmin.php:1) in e:phpwww.bKjia. c0mlogolistadminlogo.php on line 2
This is to provide that there is already output in front of the session. We only need to put session_start() at the front. At the same time, in order to avoid errors, we can add @ in front, such as @session_start(); that’s it.
At the same time, you can also modify session.auto_start = 0 in php.ini to session.auto_start = 1
That’s it.