Example #1
0
 static internal void PushSessionFileLoggedIn(long unix)
 {
     SessionFileHandler.SetLoggedIn(unix);
 }
Example #2
0
 static internal void PushSessionFileIsLoggedOut(bool trueFalse)
 {
     SessionFileHandler.SetSignedOut(trueFalse);
 }
Example #3
0
 static internal void PushSessionFileUser(string user)
 {
     SessionFileHandler.SetLastUser(user);
 }
Example #4
0
 public static void DestroySession()
 {
     SessionFileHandler.SetLoggedIn(0);
 }
Example #5
0
 public static bool GetLastLogoutWasDoneOrNot()
 {
     return(SessionFileHandler.GetSignedOut());
 }
Example #6
0
 public static long GetLastLoginTimestamp()
 {
     return(SessionFileHandler.GetLoggedIn()); //cached
 }
Example #7
0
 public static string GetLastUsedUsername()
 {
     return(SessionFileHandler.GetLastUser()); //cached
 }