Cannot Send Session Cache Limiter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • irfanmodan
    New Member
    • Jan 2011
    • 20

    Cannot Send Session Cache Limiter

    when i run client side login page...

    in login page i include menutop.php,the n in menutop me call commonfile.php, code of commonfile.php as below.....

    Code:
    <? session_start(); ?>
    <?
    require_once("include/function.php");
    ob_start();
    if (!session_is_registered("user_error"))
    {
    	session_register("user_error");
    	$_SESSION["user_error"]="";
    }
    visitor_record();
    if (get_session("sitelanguageid") == "")
    set_session("sitelanguageid" ,findsettingvalue("website_default_language_id"));
    
    $sitelanguageid=get_session("sitelanguageid");
    ?>
    when i enter wrong username and password the below eror will generate.....
    "Cannot Send Session Cache Limiter - Headers Already Sent(output started at C:\xampp\htdocs \xampp\site\log in.php:16) in C:\xampp\htdocs \xampp\site\com monfile.php on line 1)"

    please please help me to solve this error this error asap.....
    Last edited by Markus; Jan 10 '11, 02:13 PM. Reason: Added [code] tags
  • Antonio Marcos
    New Member
    • Jan 2011
    • 2

    #2
    Find the file php.ini, open it and edit the line

    session.cache_l imiter = nocache

    If the value was 'nocache', than change for 'public'.

    session.cache_l imiter = public

    Comment

    • irfanmodan
      New Member
      • Jan 2011
      • 20

      #3
      Thank u very much....its work......thaks a lot.....

      Comment

      Working...