Exemple #1
0
 public static UserState GetInstance(CookieKey cook)
 {
     if (s_Instance == null)
     {
         s_Instance = new UserState(cook);
     }
     return(s_Instance);
 }
Exemple #2
0
 private UserState(CookieKey cook)
 {
     COOKIE_USER_KEY    = cook.skUser;
     COOKIE_SESSION     = cook.skSession;
     COOKIE_BROWSER_KEY = cook.skBrowser;
 }