note 111210 deleted from function.session-start by googleguy
| From: | googleguy@php.net | Date: | Sat, 26 Jan 2013 12:12:19 +0000 |
| Subject: | note 111210 deleted from function.session-start by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193397@lists.php.net to get a copy of this message | ||
Note Submitter: jan at lanteraudio dot nl
----
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent
by (output started at
Found this error was produced by either calling a $_SERVER[] variable or __FILE__ before the
session_start() call.
Calling $_SERVER[] or __FILE__ after session_start() solves this.
(novice at php but experienced asp javascript / dot.net c#)