Changeset 34 for trunk/WebServer/UHTTPServer.pas
- Timestamp:
- Sep 13, 2010, 11:45:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebServer/UHTTPServer.pas
r33 r34 141 141 end; 142 142 143 WriteString('Session id: ' + SessionId);143 //WriteString('Session id: ' + SessionId); 144 144 WriteString('<h5>Session variables</h5>'); 145 145 for I := 0 to Session.Count - 1 do begin; … … 201 201 constructor THTTPServer.Create; 202 202 begin 203 ShowExceptions := False; 203 204 DocumentRoot := './'; 204 205 Name := 'THTTPServer'; … … 207 208 destructor THTTPServer.Destroy; 208 209 begin 210 SessionStorage.Free; 209 211 inherited Destroy; 210 212 end; … … 223 225 Stream.Free; 224 226 Headers.Free; 227 Cookies.Free; 225 228 inherited Destroy; 226 229 end; … … 395 398 begin 396 399 for i := 0 to FrameCount - 1 do 397 Writeln(hstdout^, BackTraceStrFunc(TArrayOfPointer(Frames)[i])); 400 if I < Length(TArrayOfPointer(Frames)) then 401 Writeln(hstdout^, BackTraceStrFunc(TArrayOfPointer(Frames)[i])); 398 402 end; 399 403 Writeln(hstdout^,''); … … 426 430 begin 427 431 for i := 0 to FrameCount - 1 do 428 Writeln(hstderr^, BackTraceStrFunc(TArrayOfPointer(Frames)[i])); 432 if I < Length(TArrayOfPointer(Frames)) then 433 Writeln(hstderr^, BackTraceStrFunc(TArrayOfPointer(Frames)[i])); 429 434 end; 430 435 Writeln(hstderr^,'');
Note:
See TracChangeset
for help on using the changeset viewer.