session - PHP: session_status being bypassed? -


this question has answer here:

i'm getting error "cannot send session cache limiter" funny thing check status of session before called session_start().

if (session_status() == php_session_none) {     session_start(); } 

is there circumstances session_status bypassed?

don't print outputs or write html before using sessions.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -