cookie::remove($key, $path = '/', $domain = null, $secure = false)

Remove a cookie

  • $key (string)
    The name of the cookie
  • $domain (string)
    The domain of the cookie
  • return (mixed)
    true: the cookie has been removed, false: the cookie could not be removed