PHP Session generating error

Discussion in 'Installation' started by erikcw, Nov 29, 2004.

  1. erikcw

    erikcw New Member

    Joined:
    Nov 15, 2004
    Messages:
    54
    Hi,

    I am trying to access the session data from other php pages, but I got the following error:

    test page - xxx.php

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/lybp/public_html/members/xxx.php:1) in /home/lybp/public_html/members/xxx.php on line 3
    Welcome, Erik Wickstrom

    PHP:
     <?   
     
     session_start();  
     
     print "Welcome, " . $_SESSION['_amember_user']['name_f'] . " " . $_SESSION['_amember_user']['name_l'];  
     
     ?>  
     
      
    Any idea what is causing this.

    Erik

    NOTE: the "product pages" are using sessions, but I wouldn't think that that would cause this problem...
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021

Share This Page