Powered by SmartDoc

Removing cookies from browser

Send cookies with the same name to browser. If you set past expiration time for the cookie when of that, browser removes the cookie completely.

cookie = CKCookie "name"
cookie.expire = Time.new - 60
response.add_cookie cookie