Example #1
0
 public ClientSession(string sessionId, ClientSessionManager manager)
 {
     SessionId = sessionId.IsEmpty() ?
         Guid.NewGuid().ToString("N").ToLower() :
         sessionId;
     _manager = manager;
     isAlive = true;
 }
Example #2
0
 public ClientSession(string sessionId, ClientSessionManager manager)
 {
     SessionId = sessionId.IsEmpty() ?
                 Guid.NewGuid().ToString("N").ToLower() :
                 sessionId;
     _manager = manager;
     isAlive  = true;
 }