Clean up to use session methods and not _SESSION directly

Add session_unset for unsetAll and rename this method to "clear"
This commit is contained in:
Clemens Schwaighofer
2024-12-05 13:25:08 +09:00
parent 075fe967d5
commit e57c336dba
6 changed files with 32 additions and 20 deletions

View File

@@ -205,8 +205,8 @@ print "HOST: " . HOST_NAME . " => DB HOST: " . DB_CONFIG_NAME . " => " . Support
print "DS is: " . DIRECTORY_SEPARATOR . "<br>";
print "SERVER HOST: " . $_SERVER['HTTP_HOST'] . "<br>";
print "ECUID: " . $_SESSION['ECUID'] . "<br>";
print "ECUUID: " . $_SESSION['ECUUID'] . "<br>";
print "ECUID: " . $session->get('ECUID') . "<br>";
print "ECUUID: " . $session->get('ECUUID') . "<br>";
print "</body></html>";