Jump to content
Cod-nes

Session

Recommended Posts

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/cloudex/public_html/aquaLinks/top.php:6) in /home/cloudex/public_html/aquaLinks/adminControl.php on line 13Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/cloudex/public_html/aquaLinkHow can I fix these errors in PHP 5? In PHP 4 they didn't appear.

Share this post


Link to post
Share on other sites

You have to have no output before the session_start() call.

Share this post


Link to post
Share on other sites

Not even a blank line in the html file above the header being output.

Share this post


Link to post
Share on other sites

Start your code with the first line after opening tag of php "session_start()".Like following code :<?phpsession_start();....................................................................................?>Don't leave space between opening php tag and session_start().If you redirect your flow of execution from the current page, then you have to take care about header().I think it may be problem with you.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...