Represents a stored session
Inheritance: ISessionObject
Esempio 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;
 }
Esempio 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;
 }