Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\server\xampp\htdocs\checklogin.php

Tell me how to fix it, I will be grateful ...

    2 answers 2

    You brought something to the page before calling session_start (). So you can not do.

      Before calling session_start (); There should be no text output, if you do not output anything, remove all spaces before <? php, if the error does not disappear, re-encode the document in utf-8 without BOM.