checkSession() public method

checks if user session is active
public checkSession ( ) : bool
return bool
Example #1
0
 /// <summary>
 /// Method checks if the session id is valid
 /// </summary>
 /// <returns>True if session is valid</returns>
 public bool chekUserSession()
 {
     // bool result = false;
     var sm = new SessionManager(sessionID);
     return sm.checkSession();
 }