note 103550 deleted from function.session-start by peehaa

From: Date: Mon, 27 Feb 2017 08:18:43 +0000
Subject: note 103550 deleted from function.session-start by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-208861@lists.php.net to get a copy of this message
Note Submitter: gkemaldag at gmail dot com ---- For the error: Warning: session_start(): Cannot send session cache limiter - headers already sent ... this kind of errors would occur, when the encoding of your script file needs to send some headers just after your script starts to execute, this happens mostly with the scripts using normal utf8 encoding. To overcome the issue, use utf8(without BOM) encoding provided by notepad++ and most modern editors. Using utf8 encoding and cookie based sessions, will result in headers already sent by error.

« previous php.notes (#208861) next »