[ciapug] What does it mean?

Jane Swanson ciapug@cialug.org
Fri, 20 Jun 2003 12:32:02 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_066E_01C33727.F35286B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

First [of many]:  I get the following warning message at the first page =
of my session:
      Warning</b>:  Cannot send session cookie - headers already sent by =
(output started at /home/...cgi-bin/select.php:2) in =
<b>/home/...cgi-bin/select.php</b> on line <b>3</b><br>   =20

      ANd on all pages:
            <b>Warning</b>:  Cannot send session cache limiter - headers =
already sent (output started at /home/....cgi-bin/select.php:2) in =
<b>/home/....cgi-bin/select.php</b> on line <b>3</b><br>=20

      I can suppress the messages if I use @ with my  session_start().  =
What do they mean?  My session variables pass as:

       $_SESSION['sessID'] =3D 'test';
       $_SESSION['searchID'] =3D 2;

      Enough for the first Q.  Is this telling me something I should =
know?

      JBS=20

------=_NextPart_000_066E_01C33727.F35286B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>First [of many]:&nbsp; I get the =
following warning=20
message at the first page of my session:</FONT></DIV>
<DIV>
<TABLE style=3D"WIDTH: 293pt; BORDER-COLLAPSE: collapse" cellSpacing=3D0 =

cellPadding=3D0 width=3D391 border=3D0 x:str>
  <COLGROUP>
  <COL style=3D"WIDTH: 293pt; mso-width-source: userset; mso-width-alt: =
14299"=20
  width=3D391>
  <TBODY>
  <TR style=3D"HEIGHT: 78.75pt; mso-height-source: userset" =
height=3D105>
    <TD class=3Dxl28=20
    style=3D"BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; BORDER-LEFT: =
#d4d0c8; WIDTH: 293pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: 78.75pt; =
BACKGROUND-COLOR: transparent"=20
    width=3D391 height=3D105>
      <DIV><FONT face=3DCourier color=3D#800080 =
size=3D2>Warning&lt;/b&gt;:<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>Cannot send session =
cookie -=20
      headers already sent by (output started at =
/home/...cgi-bin/select.php:2)=20
      in &lt;b&gt;/home/...cgi-bin/select.php&lt;/b&gt; on line=20
      &lt;b&gt;3&lt;/b&gt;&lt;br&gt;&nbsp;&nbsp;&nbsp; </FONT></DIV>
      <DIV><FONT face=3DCourier color=3D#800080 =
size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DCourier color=3D#800080 size=3D2>ANd on all=20
pages:</FONT></DIV>
      <DIV>
      <TABLE style=3D"WIDTH: 293pt; BORDER-COLLAPSE: collapse" =
cellSpacing=3D0=20
      cellPadding=3D0 width=3D391 border=3D0 x:str>
        <COLGROUP>
        <COL=20
        style=3D"WIDTH: 293pt; mso-width-source: userset; mso-width-alt: =
14299"=20
        width=3D391>
        <TBODY>
        <TR style=3D"HEIGHT: 100.5pt; mso-height-source: userset" =
height=3D134>
          <TD class=3Dxl28=20
          style=3D"BORDER-RIGHT: #d4d0c8; BORDER-TOP: #d4d0c8; =
BORDER-LEFT: #d4d0c8; WIDTH: 293pt; BORDER-BOTTOM: #d4d0c8; HEIGHT: =
100.5pt; BACKGROUND-COLOR: transparent"=20
          width=3D391 height=3D134><FONT face=3DCourier color=3D#800080=20
            size=3D2>&lt;b&gt;Warning&lt;/b&gt;:<SPAN=20
            style=3D"mso-spacerun: yes">&nbsp; </SPAN>Cannot send =
session cache=20
            limiter - headers already sent (output started at=20
            /home/....cgi-bin/select.php:2) in=20
            &lt;b&gt;/home/....cgi-bin/select.php&lt;/b&gt; on line=20
            =
&lt;b&gt;3&lt;/b&gt;&lt;br&gt;</FONT></TD></TR></TBODY></TABLE></DIV>
      <DIV><FONT face=3DCourier color=3D#800080 size=3D2>I can suppress =
the messages=20
      if I use @ with my&nbsp; session_start().&nbsp; What do they =
mean?&nbsp;=20
      My session variables pass as:</FONT></DIV>
      <DIV><FONT face=3DCourier color=3D#800080 =
size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial size=3D2>&nbsp;$_SESSION['sessID'] =3D=20
      'test';<BR>&nbsp;$_SESSION['searchID'] =3D 2;<BR></FONT></DIV>
      <DIV><FONT face=3DArial size=3D2>Enough for the first Q.&nbsp; Is =
this telling=20
      me something I should know?</FONT></DIV>
      <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT face=3DArial=20
size=3D2>JBS</DIV></FONT></TD></TR></TBODY></TABLE></DIV></BODY></HTML>

------=_NextPart_000_066E_01C33727.F35286B0--