Re: Session error messages

From: Date: Wed, 12 Jul 2000 20:01:39 +0000
Subject: Re: Session error messages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6246@lists.php.net to get a copy of this message
essentially you are sending output before the headers get sent. make sure you have ABSOLUTELY no white space in any files that are included/required. having a single blank line at the top/bottom of the page is enough to start the page output and the session-cookie stuff can't be sent (since it needs to go in the header). same case if there are php error messages being output before the page. you do mean session_start(), right? > Can anyone tell me what these error messages > mean? I get them when I do a session_open(). The > strange part is that I have a couple of pages that > are part of this program and I use sessions for > them withour any problems, but when I get to these > 2 scripts in particular I get these errors on a > session open: > > Warning: Cannot send session cookie - headers > already sent by (output started at > /home/dxf/public_html/rolodap/code/ldapgroupedit.phtml:3) > in > /home/dxf/public_html/rolodap/code/ldapgroupedit.phtml > on line 11 > > Warning: Cannot send session cache limiter - > headers already sent by (output started at > /home/dxf/public_html/rolodap/code/ldapgroupedit.phtml:3) > in > /home/dxf/public_html/rolodap/code/ldapgroupedit.phtml > on line 11 > > Does anyone have any ideas what they mean? > > I changed my session.cache_limiter setting to > private, but I really don't understand what this > is doing when I do this. Any help would be very > much appreciated. > > Thanks > > -- > Daniell Freed > Computer Services > Dewitt, Ross, & Stevens > > He who fights with monsters might take care > lest he thereby become a monster. > And if you gaze for long into an abyss, > the abyss gazes also into you. > > Beyond Good and Evil > Friedrich Wilhelm Nietzche > >

« previous php.general (#6246) next »