Setting an expiration date/time. This sets the cookie "username" to the value "a", with an expiration time of 365 days:
Show cookies