Re: Session error messages
| From: | Carroll Barrett | Date: | Wed, 12 Jul 2000 20:07:52 +0000 |
| Subject: | Re: Session error messages | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6243@lists.php.net to get a copy of this message | ||
Daniell,
The "headers already sent" message that your script is sending
output to be browser before you call session_open() (are you sure
you don't mean session_start()?). Check for blank lines.
Regards,
Carroll Barrett
-----Original Message-----
From: Daniell Freed <dxf@dewittross.com>
To: php-general@lists.php.net <php-general@lists.php.net>
Date: Wednesday, July 12, 2000 2:54 PM
Subject: [PHP] Session error messages
>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
>
>
>