mnielsen Posted July 2, 2008 Share Posted July 2, 2008 Hi, just working on my login system - again! On the login page I include the procLogin.php (attched below) file for the error handeling to work but I seems to be starting the session_start() before its needs to be kickedin. I've tried using a few other methods but didn't make any difference. Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/mnielsen.awardspace.com/index.php:7) in /home/www/mnielsen.awardspace.com/app/procLogin.php on line 14 Could anyone give some suggestions please. Thanks in advance for any help. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/112866-solved-session-cache-limiter/ Share on other sites More sharing options...
DarkWater Posted July 2, 2008 Share Posted July 2, 2008 session_start() needs to be before any output on a page, even whitespace. So place it at the beginning of the script if you know you'll need it. Link to comment https://forums.phpfreaks.com/topic/112866-solved-session-cache-limiter/#findComment-579720 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.