/// <summary> /// 得到Session Id信息 /// </summary> /// <param name="context"></param> /// <returns></returns> public static string GetSessionId(this IOwinContext context) { return(SessionMiddleware.GetSessionId(context)); }