SyntaxFix
Write A Post
Hire A Developer
Questions
I use a combined version:
if(session_id() == '' || !isset($_SESSION)) { // session isn't started session_start(); }