コード例 #1
0
        public static SessionModel GetSession(this ISession session)
        {
            var currentSession = ApplicationHelper.GetObject <SessionModel>(session, Key);

            return(currentSession);
        }
コード例 #2
0
 public static void KillSession(this ISession session)
 {
     ApplicationHelper.RemoveObject(session, Key);
 }
コード例 #3
0
 public static void SetSession(this ISession session, object value)
 {
     ApplicationHelper.SetObject(session, Key, value);
 }