Represents a stored session
Inheritance: ISessionObject
Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the SessionResponseInfo class
 /// </summary>
 /// <param name="Session">The Session object to initialize field values from</param>
 public SessionResponseInfo(SessionObject Session)
 {
     lockCookie = Session.LockCookie;
     lockdate   = Session.LockDate.Ticks;
     lockAge    = (long)Session.LockAge.TotalSeconds > 0 ? (long)Session.LockAge.TotalSeconds : 0;
     flags      = Session.ExtraFlags;
     timeout    = Session.TimeOut;
     updateDate = Session.UpdateDate;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the SessionResponseInfo class
 /// </summary>
 /// <param name="Session">The Session object to initialize field values from</param>
 public SessionResponseInfo(SessionObject Session)
 {
     lockCookie = Session.LockCookie;
     lockdate = Session.LockDate.Ticks;
     lockAge = (long)Session.LockAge.TotalSeconds > 0 ? (long)Session.LockAge.TotalSeconds : 0;
     flags = Session.ExtraFlags;
     timeout = Session.TimeOut;
     updateDate = Session.UpdateDate;
 }