Page 1 of 1

Session error when i click on a button

Posted: Thu Jan 13, 2005 12:07 pm
by rubdot
On my website when i host it i get session errors when i click on a couple of my buttons.


I understand that the error is because there is something being written to the page before i start the session but the session_start() is on the first line of the next page code.

So i think that page that is before is still in memory which is calling the session error. Can anyone give me any advice on how to make the button so that an error isn't thrown.

Thanks Rob

Posted: Thu Jan 13, 2005 12:13 pm
by feyd
please post the code of the page causing the error. In light of seeing it for specific guidance.. We have a tutorial in the Tutorials section called: Warning: Cannot add header information