note 103192 added to function.session-start
| From: | tomdchi at osu1 dot php dot net | Date: | Wed, 30 Mar 2011 21:45:28 +0000 |
| Subject: | note 103192 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178364@lists.php.net to get a copy of this message | ||
->alakys
Something is being outputted to the browser before the session can start. It can even be something
you can't see. Something that has gotten me in the past is BOM's (byte order mark). Some
editors will insert these into your script and you can't see them. A crude but easy way to get
ride of a BOM is to copy/paste your code into notepad. Do save as and change save as type to All
and encoding to ANSI format. Name it with php extension. This will remove any BOM you have.
----
Server IP: 69.147.83.197
Probable Submitter: 74.92.195.105
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- https://master.php.net/note/edit/103192
Del: integrated -- https://master.php.net/note/delete/103192/integrated
Del: useless -- https://master.php.net/note/delete/103192/useless
Del: bad code -- https://master.php.net/note/delete/103192/bad+code
Del: spam -- https://master.php.net/note/delete/103192/spam
Del: non-english -- https://master.php.net/note/delete/103192/non-english
Del: in docs -- https://master.php.net/note/delete/103192/in+docs
Del: other reasons-- https://master.php.net/note/delete/103192
Reject -- https://master.php.net/note/reject/103192
Search -- https://master.php.net/manage/user-notes.php