RE: cookie / session problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Any suggestions as to what might be the problem?
Line 14 of /home/www/cart/product1.php is sending output.  It looks to be an
include, so make sure it does not have whitespace outside of php tags.

> -----Original Message-----
> From: mark hurty [mailto:hurty@mac.com]
> Sent: Thursday, May 15, 2003 6:06 PM
> To: php-db@lists.php.net
> Subject:  cookie / session problem
>
>
> I am getting this odd error when trying to set a cookie...
>
> > Warning :  Cannot modify header information - headers already sent by
> > (output started at /home/www/cart/product1.php:14) in
> > /home/www/cart/db.php on line 43
> >
>
> Line 43 of the file referenced is:
>
> >    setcookie("cartId", session_id(), time() + ((3600 * 24) * 30));
>
>
> Any suggestions as to what might be the problem?
>
>
> --
> mark hurty  |  mark@hurty.com  |  309.764.0915
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux