Ignore:
Timestamp:
Sep 13, 2010, 11:20:24 AM (14 years ago)
Author:
george
Message:
  • Přidáno: Druhá varianta projektu pro sestavení TCP serveru.
  • Přidáno: Vlastní obsluha vyjímek a zobrazení ve HTTP tvaru.
  • Opraveno: Zpracování session třídy THTTPSessionStorageMySQL.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        22UConfig.pas
        33bin
         4lib
  • trunk/WebServer/UHTTPSessionFile.pas

    r32 r33  
    1010type
    1111
    12   { TFileHTTPSessionStorage }
     12  { THTTPSessionStorageFile }
    1313
    14   TFileHTTPSessionStorage = class(THTTPSessionStorage)
     14  THTTPSessionStorageFile = class(THTTPSessionStorage)
    1515  private
    1616    Lock: TCriticalSection;
     
    3232{ THTTPSession }
    3333
    34 function TFileHTTPSessionStorage.GetNewSessionId: string;
     34function THTTPSessionStorageFile.GetNewSessionId: string;
    3535begin
    3636  Result := BinToHexString(SHA1(FloatToStr(Now)));
     
    3939end;
    4040
    41 procedure TFileHTTPSessionStorage.GetSessionId(HandlerData: THTTPHandlerData);
     41procedure THTTPSessionStorageFile.GetSessionId(HandlerData: THTTPHandlerData);
    4242begin
    4343  with HandlerData do begin
     
    5151end;
    5252
    53 procedure TFileHTTPSessionStorage.Load(HandlerData: THTTPHandlerData);
     53procedure THTTPSessionStorageFile.Load(HandlerData: THTTPHandlerData);
    5454var
    5555  SessionFile: string;
     
    6868end;
    6969
    70 procedure TFileHTTPSessionStorage.Save(HandlerData: THTTPHandlerData);
     70procedure THTTPSessionStorageFile.Save(HandlerData: THTTPHandlerData);
    7171var
    7272  SessionFile: string;
     
    8888end;
    8989
    90 constructor TFileHTTPSessionStorage.Create;
     90constructor THTTPSessionStorageFile.Create;
    9191begin
    9292  inherited Create;
     
    9898end;
    9999
    100 destructor TFileHTTPSessionStorage.Destroy;
     100destructor THTTPSessionStorageFile.Destroy;
    101101begin
    102102  Sessions.Destroy;
Note: See TracChangeset for help on using the changeset viewer.