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
Session error when i click on a button
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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