Beispiel #1
0
 public function testDoesNotMatchIp()
 {
     $cookie = new puzzle_cookie_SetCookie(array('Domain' => '192.168.16.'));
     $this->assertFalse($cookie->matchesDomain('192.168.16.121'));
 }
Beispiel #2
0
 public function __callback_clear_3(puzzle_cookie_SetCookie $cookie)
 {
     return !($cookie->getName() == $this->_closure_clear_name && $cookie->matchesPath($this->_closure_clear_path) && $cookie->matchesDomain($this->_closure_clear_domain));
 }