Warning: Cannot send session cookie - headers already sent b

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
User avatar
shiranwas
Forum Commoner
Posts: 53
Joined: Fri Jul 07, 2006 10:41 pm
Location: Colombo

Warning: Cannot send session cookie - headers already sent b

Post by shiranwas »

i tried to work out some session variable,
i get this warning why i get this,


Warning: Cannot send session cookie - headers already sent by

shiran
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Search is your friend! Image

There is a topic on this subject in Tutorials - Warning: Cannot add header information
User avatar
shiranwas
Forum Commoner
Posts: 53
Joined: Fri Jul 07, 2006 10:41 pm
Location: Colombo

Post by shiranwas »

what u sent is not relavent to my problem, it talks about something else
but i want is about seessions

i think i have place the on a wrong plase the session start can u tell me where to put session start(between whih html tags)
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Same principle! Image
User avatar
shiranwas
Forum Commoner
Posts: 53
Joined: Fri Jul 07, 2006 10:41 pm
Location: Colombo

Post by shiranwas »

thanks
Post Reply