add that the session cookie is site global
This commit is contained in:
1 parent
2178435b65
commit
3fa057f084
1 file changed
+2
-2
@@ -56,7 +56,7 @@ class furatalogSessions {
|
||||
}
|
||||
|
||||
private function saveCookie() {
|
||||
setcookie("_cookieKey", $this->cookieKey, time() + $this->cookie_duration);
|
||||
setcookie("_cookieKey", $this->cookieKey, time() + $this->cookie_duration, "/");
|
||||
}
|
||||
|
||||
private function connectDb() {
|
||||
@@ -87,7 +87,7 @@ class furatalogSessions {
|
||||
}
|
||||
|
||||
private function deleteCookie() {
|
||||
setcookie("_cookieKey", "", time()-3600);
|
||||
setcookie("_cookieKey", "", time()-3600, "/");
|
||||
}
|
||||
|
||||
private function deleteData($cookieKey) {
|
||||
|
||||
Reference in new issue
Block a user