示例#1
0
        private object getSession(enumSessionName pSessionName)
        {
            string strSessionName = pSessionName.ToString();
            object result         = HttpContext.Current.Session[strSessionName];

            return(result);
        }
示例#2
0
        private void setSession(enumSessionName pSessionName, object pObjValue)
        {
            string strSessionName = pSessionName.ToString();

            HttpContext.Current.Session[strSessionName] = pObjValue;
        }