示例#1
0
文件: Session.php 项目: fluxoft/rebar
 /**
  * @param $key
  */
 public function Delete($key)
 {
     unset($_SESSION[$key]);
     parent::Delete($key);
 }
示例#2
0
文件: Cookies.php 项目: fluxoft/rebar
 /**
  * @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);
     }
 }