unusual warning

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
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

unusual warning

Post by Deemo »

i am getting the following warning when i go to a php page
Warning: Cannot send session cache limiter - headers already sent (output started at <path>/EditLogin.php:3) in <path>/EditLogin.php on line 4
i am usuing sessions as a way of logging in an out. i am also using sessions for another section of the site. is it that the 2 sessions are contradicting eachother?

clueless
Deemo
User avatar
DuFF
Forum Contributor
Posts: 495
Joined: Tue Jun 24, 2003 7:49 pm
Location: USA

Post by DuFF »

Is line 4 session_start()? If so that just means that you've already started the session, possibly in an included file? If not check out this tutorial for more help on the "Headers Already Sent" error.
viewtopic.php?t=6521
Post Reply