The problem of the relationship between checksession and session_key in WeChat Mini Programs?

wx.checkSession({
      success: function () {
        //session 
      },
      fail: function () {
        //
        wx.login({
          success: function (res) {
            var code_3rd = res.code;
            wx.request({
              url: "https://",
              data: { code: code_3rd },
              method: "GET",
              success: function (re) {
              }
            });
          }
        });
        

does the expires_in of

session_key check session 7200s to check whether the session_key expires, so does it mean that you have to re-wx.login whenever the login interval is more than 7200s?

Mar.03,2021
Menu