I\'m trying to set a PHP cookie to expire 1 Year from when the user logged in, and I\'m doing it this way:
setcookie(\"myCookie\",\'exampleUserName\',(365 *
setcookie($cookie_name, $cookie_value, strtotime("+1 year"));