Exemplo n.º 1
0
        /// <summary>
        /// Updates all data stored in HTTPContext.Session
        /// </summary>
        private void UpdateSessionAll()
        {
            var sessionContents = new SessionContents(HttpContext.Session);

            sessionContents.UpdateSessionContents(SessionConstants.MODULE_INFOS_SESSION_KEY, ModuleInfos);
            sessionContents.UpdateSessionContents(SessionConstants.AXIOM_INFOS_SESSION_KEY, AxiomInfos);
            sessionContents.UpdateSessionContents(SessionConstants.RULE_INFOS_SESSION_KEY, RuleInfos);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Updates data which relates to ModuleInfos stored in HTTPContext.Session
        /// </summary>
        private void UpdateSessionModules()
        {
            var sessionContents = new SessionContents(HttpContext.Session);

            sessionContents.UpdateSessionContents(SessionConstants.MODULE_INFOS_SESSION_KEY, ModuleInfos);
        }