/** * @param $key */ public function Delete($key) { unset($_SESSION[$key]); parent::Delete($key); }
/** * @param $key */ public function Delete($key) { if (setcookie($key, '', 0, $this->settings['path'], $this->settings['domain'], $this->settings['secure'], $this->settings['httponly'])) { parent::Delete($key); } }