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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -