Beispiel #1
0
 public static string GetCookiePassword(string password)
 {
     return(GetCookiePassword(password, ConfigHelper.GetConfigString("Passwordkey")));
 }
Beispiel #2
0
 public static void ClearUserCookie()
 {
     ClearUserCookie(ConfigHelper.GetConfigString("CookieName"), ConfigHelper.GetConfigString("CookieDomain"));
 }
Beispiel #3
0
 public static void WriteUserCookie(int uid, string password, int expires)
 {
     WriteUserCookie(uid, password, expires, ConfigHelper.GetConfigString("CookieName"), ConfigHelper.GetConfigString("CookieDomain"), ConfigHelper.GetConfigString("PasswordKey"), ConfigHelper.GetConfigString("CookieUserid"), ConfigHelper.GetConfigString("CookiePassword"));
 }
Beispiel #4
0
 public static string GetCookie(string strName)
 {
     return(GetCookie(strName, ConfigHelper.GetConfigString("CookieName")));
 }