NYCPHP Meetup

NYPHP.org

[nycphp-talk] session warnings

Alexander Chan alexander_chan at yahoo.com
Wed May 7 15:28:03 EDT 2003


my first line was 
<?php session_start();?>

--- "Malcolm, Gary" <gmalcolm at professionalcredit.com>
wrote:
> my guess w/o the code is that there is a blank space
> in you script b4 the
> <?php tag (this starts browser output so and
> session_start needs to be b4
> any output)
> 
> > -----Original Message-----
> > From: Alexander Chan
> [mailto:alexander_chan at yahoo.com]
> > Sent: Wednesday, 07 May, 2003 11:51 AM
> > To: NYPHP Talk
> > Subject: [nycphp-talk] session warnings
> > 
> > 
> > Hi everybody,
> > 
> > I am trying to write a small web application with
> > sessions.  I get a warnings when i try to reload a
> > page.
> > the warnings are the following.
> > -----
> > Warning: session_start() [function.session-start]:
> > read returned less bytes than requested in
> > /home/httpd/htdocs/blog/admin/index.php on line 1
> > 
> > Warning: session_start() [function.session-start]:
> > Cannot send session cache limiter - headers
> already
> > sent (output started at
> > /home/httpd/htdocs/blog/admin/index.php:1) in
> > /home/httpd/htdocs/blog/admin/index.php on line 1
> > ------
> > 
> > what would be giving this warning?
> > 
> > Thanks for the help,
> > Alexander Chan
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 




More information about the talk mailing list