Example #1
0
 public object this[string key]
 {
     get
     {
         key = CreatSessionCookie() + "_" + key;
         return(CacheAction.GetCache(key));
     }
     set
     {
         if (value == null)
         {
             CacheAction.RemoveCache(key);
         }
         else
         {
             SetSession(key, value);
         }
     }
 }