Beispiel #1
0
 public function unsetCookie()
 {
     // Check if HttpCookieObject exists
     $this->getHttpCookieObject();
     $name = $this->httpCookieObject->getName();
     $expire = $this->httpCookieObject->getExpiryTime();
     $path = $this->httpCookieObject->getPath();
     $domain = $this->httpCookieObject->getDomain();
     $secure = $this->httpCookieObject->isSecure();
     $value = null;
     $httpCookieObject = new Zend_Http_Cookie($name, $value, $domain, $expire, $path, $secure);
     $this->setHttpCookieObject($httpCookieObject);
     return $this->write();
 }