My main objective is to get the count of currently active session. My code is -
$count = count(scandir(ini_get("session.save_path")));