Session id 不一致導致通過getAttribute()獲取到的otpCode為null
String?userSessionCode?=?(String)?this.httpServletRequest.getSession().getAttribute(telephone);
獲取到的?userSessionCode?=?null 注:我用的是android,是不是可以通過android端獲取到cookie,然后傳給服務端,來保持是同一個session, 可以的話,我服務端不知道怎么寫,難道通過接口參數的方式傳過來?是否還有其他的方法,請大佬賜教。
2020-12-14
同問。
2020-03-24
請問大佬問題解決了嗎?我出現了同樣的問題