954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

error warning

hi all..
i had this problem
when i click submit at a form..this things comesout


Warning: session_start(): Cannot send session cache limiter - headers already sent

but the data submitted available in db table.

whats the error actually???
fyi,this mini system have login..but for the form,i didn't set user need to login.

jinchiruki
Newbie Poster
22 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

you'll get that warning when trying to call session_start after outputting content to the browser with something like echo or print, or if you have embedded PHP that calls a session_start following HTML content.

The reason your DB update still works is because the error is just a warning. Warnings do not halt the compiler, they just spit out the warning text and continue.

learn all about sessions h ere

johnsquibb
Junior Poster in Training
84 posts since Nov 2007
Reputation Points: 14
Solved Threads: 14
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You