public setExpiration (mixed $expire) Sets the cookie’s expiration time
public restore () Reads the cookie-related info from the SESSION to restore the cookie as it was set This method is automatically
public isUsingEncryption () Check if the cookie is using implicit encryption
public getDomain () Returns the domain that the cookie is available to
public getExpiration () Returns the current expiration time
public setDomain (mixed $domain) Sets the domain that the cookie is available to
public getSecure () Returns whether the cookie must only be sent when the connection is secure (HTTPS)
public getHttpOnly () Returns if the cookie is accessible only through the HTTP protocol
public send () Sends the cookie to the HTTP client Stores the cookie definition in session
public delete () Deletes the cookie by setting an expire time in the past
Page 1 of 3