avatar.alex Posted November 29, 2008 Share Posted November 29, 2008 What I don't understand is, I won't be logged in if I don't include the session_start() but if I do include it I get these errors? So IDK how to fix this. The session_start() is place only once in the coding so IDK what the error is? Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/www/coldones.freehostia.com/admin/index.php:16) in /home/www/coldones.freehostia.com/admin/connect.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/www/coldones.freehostia.com/admin/index.php:16) in /home/www/coldones.freehostia.com/admin/connect.php on line 2 Link to comment https://forums.phpfreaks.com/topic/134709-solved-session_start/ Share on other sites More sharing options...
.josh Posted November 29, 2008 Share Posted November 29, 2008 http://www.phpfreaks.com/forums/index.php/topic,37442.0.html Link to comment https://forums.phpfreaks.com/topic/134709-solved-session_start/#findComment-701419 Share on other sites More sharing options...
trq Posted November 29, 2008 Share Posted November 29, 2008 See the big HEADER ERRORS sticky at the top of this board. Link to comment https://forums.phpfreaks.com/topic/134709-solved-session_start/#findComment-701420 Share on other sites More sharing options...
vicodin Posted November 29, 2008 Share Posted November 29, 2008 Make sure start_session() is the very first thing... make sure there are no space or anything before it. Link to comment https://forums.phpfreaks.com/topic/134709-solved-session_start/#findComment-701421 Share on other sites More sharing options...
avatar.alex Posted November 29, 2008 Author Share Posted November 29, 2008 Thank you thorpe, I shouldn't have been that ignorant lol sorry for not reading. That solved the problem lol Link to comment https://forums.phpfreaks.com/topic/134709-solved-session_start/#findComment-701426 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.