Clearly, this question refers to the setcookie or setrawcookie functions, although the header function could be used as well.