Adding cookie expiration granularity to setcookies