Re: sessions
| From: | Michael Virnstein | Date: | Thu, 23 May 2002 14:52:26 +0000 |
| Subject: | Re: sessions | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19389@lists.php.net to get a copy of this message | ||
make sure that there is no character anywhere before session_start().
this also includes whitspaces.
so check you're files, if there are whitspaces before the <?php
or if there's any include file included before the session_start,
which has whitspaces before the <?php or after the ?>.
of course you also cannot send any other characters or html to the browser
before session_start is called. A workaround could be done using output
buffering.
Regards Michael
"James Kupernik" <kupernik@bcn.net> schrieb im Newsbeitrag
news:20020523143804.93198.qmail@pb1.pair.com...
> I get this error when I try to start a session (I'm trying to create a
> shopping cart).
>
> Warning: Cannot send session cache limiter - headers already sent
>
>
> Thanks
>
>