Пример #1
0
        protected string GetSessionItemPrefix()
        {
            var prefix = UnlockedExtensions.GetSessionItemKey(string.Empty, configuration.CookieName);

            return(prefix);
        }
Пример #2
0
        public void Abondon(bool async = false)
        {
            var prefix = UnlockedExtensions.GetSessionItemKey(string.Empty, configuration.CookieName);

            UnlockedExtensions.EndSessionWithCustomCookie(configuration.CookieName);
        }
Пример #3
0
        protected string GetSessionItemKey(string keyName)
        {
            var redisKey = UnlockedExtensions.GetSessionItemKey(keyName, configuration.CookieName);

            return(redisKey);
        }