Set cookie maxAge.