8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$this->currentTs is added twice upon calling method deleteCookies()
$this->currentTs
deleteCookies()
Once at line 3 in
public function deleteCookies() { $expire = $this->currentTs - 86400; $cookies = array('id', 'ses', 'cvar', 'ref'); foreach($cookies as $cookie) { $this->setCookie($cookie, '', $expire); } }
and once at line 3 in
protected function setCookie($cookieName, $cookieValue, $cookieTTL) { $cookieExpire = $this->currentTs + $cookieTTL; if(!headers_sent()) { setcookie($this->getCookieName($cookieName), $cookieValue, $cookieExpire, $this->configCookiePath, $this->configCookieDomain); } }
This results in cookies having expiration dates set to year 2060.
The text was updated successfully, but these errors were encountered:
fixes #9 - use negative TTL for setCookie to remove them
4513884
sgiehl
Successfully merging a pull request may close this issue.
$this->currentTs
is added twice upon calling methoddeleteCookies()
Once at line 3 in
and once at line 3 in
This results in cookies having expiration dates set to year 2060.
The text was updated successfully, but these errors were encountered: