Re: PHP $_SESSION Not working
Session seems to be fine then, when I get the error 'Headers already sent' its normally due to the fact your trying to do header('Location: somewhere'); after you have done a print_r().
Inside your include("admin/configfile.php"); do you have anything which is trying to redirect the user?
Try removing print_r($_SESSION); and see if it fixes the problem, if so you may have a header(Location: 'somewhere'); inside your configs....may need an if() around it
|