session_start() error

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I keep getting an error that says this:

Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at c:\program files\easyphp1-8\www\the
site\adminlogin.php:3) in c:\program files\easyphp1-8\www\the
site\ on line 5

Does anyone know what it means?  I am trying to create a account login
and that warning comes up... Nothing bad happens.  If anything does
anyone know how to suppress php from showing the warning? though I'd
rather figure out how to fix it


Nick php newsgroups

Re: session_start() error

Quoted text here. Click to load it

What have you got on line 3 of c:\program files\easyphp1-8\www\the
site\adminlogin.php?  Move it *AFTER* your call to session_start().

Any output will screw things up:  a blank line, a DOCTYPE declaration,
debugging statements, error messages, or whatever.

Quoted text here. Click to load it

Call session_start() *FIRST*.  Before anything else.

                    Gordon L. Burditt

Site Timeline