Esempio n. 1
0
 public HttpSession(CustomSessionList AOwner) {
   this._Owner = AOwner;
   _Content = new SortedList<string,object>();
   if (AOwner != null) {
     AOwner.SessionStart(this);
   }
 }
Esempio n. 2
0
 public HttpSession(CustomSessionList AOwner)
 {
     this._Owner = AOwner;
     _Content    = new SortedList <string, object>();
     if (AOwner != null)
     {
         AOwner.SessionStart(this);
     }
 }
Esempio n. 3
0
 public HttpSession(CustomSessionList AOwner, string ASessionId, string ARemoteIP) {
   _SessionId = ASessionId;
   _RemoteHost = ARemoteIP;
   _LastTimeStamp = DateTime.Now;
   _Content = new SortedList<string,object>();
   _Owner = AOwner;
   if (AOwner != null) {
     AOwner.SessionStart(this);
   }
 }
Esempio n. 4
0
 public HttpSession(CustomSessionList AOwner, string ASessionId, string ARemoteIP)
 {
     _SessionId     = ASessionId;
     _RemoteHost    = ARemoteIP;
     _LastTimeStamp = DateTime.Now;
     _Content       = new SortedList <string, object>();
     _Owner         = AOwner;
     if (AOwner != null)
     {
         AOwner.SessionStart(this);
     }
 }
Esempio n. 5
0
 public CustomHttpServer()
 {
     _SessionList           = new DefaultSessionList();
     _MimeTable             = new MimeTable(true);
     DefaultPort            = TcpPorts.Http;
     MaximumHeaderLineCount = Http.HttpServer_MaximumHeaderLineCount;
     AutoStartSession       = Http.HttpServer_AutoStartSession;
     KeepAlive           = Http.HttpServer_KeepAlive;
     ParseParams         = Http.HttpServer_ParseParams;
     ServerSoftware      = Http.HttpServer_ServerSoftware;
     SessionState        = Http.HttpServer_SessionState;
     SessionTimeOut      = Http.HttpServer_SessionTimeOut;
     _OkToProcessCommand = false;
 }