php - Getting Session error on live site -


this question has answer here:

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

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -