Cookie angepasst für Subdomain; Verweise auf alten Webserver

This commit is contained in:
aschwarz
2024-03-12 10:14:12 +01:00
parent 7e7da6dd5d
commit 020c868f83
2 changed files with 12 additions and 12 deletions

View File

@ -64,7 +64,7 @@ if ($function == 'login')
$result_debug = $db->query("INSERT INTO kurs_debug (uid, passwort, logindat, success) VALUES ('$row[uid]', '$password', '$heute_format', 'Y')");
}
if(isset($row['uid'])){
setcookie("uid1","$row[uid]", NULL,'/');
setcookie("uid1","$row[uid]", NULL,'/','hs-ludwigsburg.de');
$_SESSION['global_uid'] = $row['uid'];
$_SESSION['global_stg'] = $row['stg'];
$_SESSION['global_hs'] = $row['hs'];