Changeset 33 for trunk/WebServer/UHTTPSessionFile.pas
- Timestamp:
- Sep 13, 2010, 11:20:24 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 2 2 UConfig.pas 3 3 bin 4 lib
-
- Property svn:ignore
-
trunk/WebServer/UHTTPSessionFile.pas
r32 r33 10 10 type 11 11 12 { T FileHTTPSessionStorage }12 { THTTPSessionStorageFile } 13 13 14 T FileHTTPSessionStorage = class(THTTPSessionStorage)14 THTTPSessionStorageFile = class(THTTPSessionStorage) 15 15 private 16 16 Lock: TCriticalSection; … … 32 32 { THTTPSession } 33 33 34 function T FileHTTPSessionStorage.GetNewSessionId: string;34 function THTTPSessionStorageFile.GetNewSessionId: string; 35 35 begin 36 36 Result := BinToHexString(SHA1(FloatToStr(Now))); … … 39 39 end; 40 40 41 procedure T FileHTTPSessionStorage.GetSessionId(HandlerData: THTTPHandlerData);41 procedure THTTPSessionStorageFile.GetSessionId(HandlerData: THTTPHandlerData); 42 42 begin 43 43 with HandlerData do begin … … 51 51 end; 52 52 53 procedure T FileHTTPSessionStorage.Load(HandlerData: THTTPHandlerData);53 procedure THTTPSessionStorageFile.Load(HandlerData: THTTPHandlerData); 54 54 var 55 55 SessionFile: string; … … 68 68 end; 69 69 70 procedure T FileHTTPSessionStorage.Save(HandlerData: THTTPHandlerData);70 procedure THTTPSessionStorageFile.Save(HandlerData: THTTPHandlerData); 71 71 var 72 72 SessionFile: string; … … 88 88 end; 89 89 90 constructor T FileHTTPSessionStorage.Create;90 constructor THTTPSessionStorageFile.Create; 91 91 begin 92 92 inherited Create; … … 98 98 end; 99 99 100 destructor T FileHTTPSessionStorage.Destroy;100 destructor THTTPSessionStorageFile.Destroy; 101 101 begin 102 102 Sessions.Destroy;
Note:
See TracChangeset
for help on using the changeset viewer.