thie is general problem for everyone who is using session first time in his/her php secript
the solution which i feel is
don't leave space in php file
ex:
starting php file
one blank_line
<?
session_start();
<?
the above ex. give the error of same
for that u have to avoid that blank line
ex:
<?
session_start();
?>
or dont' write any html code before writing session_start();
<head>
<title>
</title>
</head>
<body>
<?
session_start();
?>
</body>
the aboe code will also give u error
pl. try this out...
Nashirak wrote:
Ok I am kinda new with sessions. I kind get the basic concept and can use them, but I am having some trouble. My sessions are working and keeping up with the user etc. but on every page that I am tracking him with sessions I keep getting this warning message:
Warning: Cannot send session cache limiter - headers already sent by (output started at /var/www/html/mailbox.php:6) in phpclasses/global.inc on line 16
Now line 16 of global.inc is simply:
session_start();
What I really want to know is what does this error message mean and with what little info I have given you (I would put more but I dont think you want to sort through a couple hundred lines of code), can I get rid of this. Thanks.