예제 #1
0
        public static T PopSessionFromJsonOrDefault <T>(this HttpSessionState session, string key)
        {
            var value = session.GetObjectFromJsonOrDefault <T>(key);

            session.RemoveSession(key);
            return(value);
        }