SESSIONS AND COOKIES

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lloydsmods
Forum Newbie
Posts: 22
Joined: Wed Aug 14, 2002 2:03 pm
Location: NC

SESSIONS AND COOKIES

Post by lloydsmods »

Whenever I try to set a cookie or start a session I get these errors:

Warning: Cannot send session cookie - headers already sent by (output started at /usr/local/apache/vhosts/mysite.com/htdocs/index.php:9) in /usr/local/apache/vhosts/mysite.com/htdocs/index.php on line 10

Warning: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache/vhosts/mysite.com/htdocs/index.php:9) in /usr/local/apache/vhosts/mysite.com/htdocs/index.php on line 10
Any ideas how I could solve this?

Thanks in advance for any suggestions.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply