Warning: session_start(): Cannot send session cookie – headers already sent
It is known that you have to make sure nothing’s already sent to output to perform a successful http header modification. As such, in PHP, you will keep an eye on possible white spaces before the use of header() function to modify delivery headers. For example, <?php header(‘…’); ?> this tiny snippet would fail if …
Warning: session_start(): Cannot send session cookie – headers already sent Read More »