/// <summary> /// 获取老的密保回答 /// </summary> /// <returns></returns> public static AccountsProtect GetOldProtectionInfo(int userID) { string sessionKey = string.Format("old_{0}", Fetch.GetSessionProtectionKey(userID)); return(SessionState.Get(sessionKey) as AccountsProtect); }
/// <summary> /// 获取老的密保回答 /// </summary> /// <returns></returns> public static AccountsProtect GetOldProtectionInfo(int userID) { string sessionKey = string.Format("old_{0}", Fetch.GetSessionProtectionKey(userID)); return(WHCache.Default.Get <SessionCache>(sessionKey) as AccountsProtect); }