the user name or key associated with the cookie. The user name must not contain characters that are invalid in a filename.
data
the data to set in the cookie (for example a serialized object)
Description:
Set a cookie on the client side containing the given data. A cookie is accesible ONLY from the same host and for the same user/key. If data is empty, the cookie is deleted.