run two session code example
Example: run two session
session_name('s1');
session_start();
$_SESSION['name'] = 'Mai';
session_write_close();
session_name('s2');
session_start();
$_SESSION['name'] = 'Darren';
session_write_close();
session_name('s1');
session_start();
$_SESSION['name'] = 'Mai';
session_write_close();
session_name('s2');
session_start();
$_SESSION['name'] = 'Darren';
session_write_close();