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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -