Currently, there is no function within the Alloy framework to support setting cookie expiration in the same manner as is supported using s.cookieLifetime in AppMeasurement.
Without this functionality in Alloy, we cannot manually set/control the cookie expiration using this solution.