For Example if you are setting SESSION variables on a log in page, create session variables like $_SESSION["login-firstname"], $_SESSION["login-lastname"], $_SESSION["login-age"]. Then to unset them at once using the function below ...
unsetSessionVariablesByTag("login-");