php - Getting Session error on live site -
this question has answer here:
- how fix “headers sent” error in php 11 answers
i have started session in config.php file & have included file on every page on site, site works fine in localhost,
but when have done live it,it shows error this,
warning: session_start() [function.session-start]: cannot send session cache limiter - headers sent
any suggestions...
thanks,
check don't send content before calling session_start. make session_start first thing in php file.
<?php session_start(); ?>
Comments
Post a Comment