My main objective is to get the count of currently active session. My code is -
$count = count(scandir(ini_get("session.save_path")));
But the value is increasing only. Th site may not have any active users. Why $count
is not decreasing in that case?