PHP sessions that have already been started [duplicate]

Try

<?php
    if(!isset($_SESSION)) 
    { 
        session_start(); 
    } 
?>

Leave a Comment