Re: Session problem
| From: | Michael Virnstein | Date: | Mon, 15 Apr 2002 15:01:38 +0000 |
| Subject: | Re: Session problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93013@lists.php.net to get a copy of this message | ||
> Warning: Cannot send session cache limiter - headers already sent
> (output started at /path/to/my/little/session.inc:9) in
> /path/to/my/little/session.inc on line 10
this means that there is output before session_start() was called.
look at your include files, and make sure that there is no whitespace before
the first <?php or after the ?> at the end.
"Torkil Johnsen" <torkil.johnsen@stud.hibo.no> schrieb im Newsbeitrag
news:INELIHOCKHFJNOPCOBKCAEFHDIAA.torkil.johnsen@stud.hibo.no...
> I get this errormessage when trying to make my logon work:
>
> Warning: Cannot send session cache limiter - headers already sent
> (output started at /path/to/my/little/session.inc:9) in
> /path/to/my/little/session.inc on line 10
>
> line 10 contains: session_start();
>
>
> It does however seem like I am "logged in", becase at the bottom of my
page,
> my logout button is appearing. (which it is only supposed to do if
> "session_is_registered(session_id)"
>
> When clickign the logout button I get this message:
> Warning: Trying to destroy uninitialized session in
> /path/to/my/little/session.inc on line 37
>
> Where line 37 says: session_destroy();
>
> Anyone...?
> Anyone have any links to any really good php session examples? I have read
> quite a few of them now...
>