php - Can't get a session id -


i must have funky new server setup. (cent os) these 2 simple lines of code give me blank session id. shouldn't session id automatically generated , assigned?

session_start(); echo "your session_id=".session_id()."<br/>"; 

thanks.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -