seperate ttl and cookie.maxage