Cookie is not set

This is the correct format for a cookie to expire in one hour (3600 seconds):

setcookie('rma_member', true, time() + 3600, COOKIEPATH, COOKIE_DOMAIN);

setcookie
Expire: The time the cookie expires. This is a Unix timestamp so is in number of seconds since the epoch. In other words, you’ll most likely set this with the time() function plus the number of seconds before you want it to expire.