Changeset 138 for trunk/Application/UWebSession.pas
- Timestamp:
- Sep 9, 2022, 8:20:25 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UWebSession.pas
r137 r138 6 6 Classes, SysUtils, UHTTPServer, USqlDatabase, UHTTPSessionMySQL, UUser, 7 7 UHtmlClasses, UWebPage, UUtils, UXmlClasses, DateUtils, UModularSystem, 8 UPageList, UWebApp, SpecializedList;8 UPageList, UWebApp, UGenerics; 9 9 10 10 type … … 86 86 try 87 87 BaseUrlParts := TListString.Create; 88 BaseUrlParts.Explode( BaseURL, '/', StrToStr);88 BaseUrlParts.Explode('/', BaseURL); 89 89 while (BaseUrlParts.Count > 0) and (Request.Path.Count > 0) and 90 90 (BaseUrlParts[0] = Request.Path[0]) do begin … … 104 104 except 105 105 on E: Exception do begin 106 THTMLString(Self.HtmlDocument.Body.SubItems.AddNew(THtmlString.Create)). 107 Text := Format(SError, [E.Message]); 106 Self.HtmlDocument.Body.SubItems.AddString.Text := Format(SError, [E.Message]); 108 107 GeneratePage(Page.Page); 109 108 end;
Note:
See TracChangeset
for help on using the changeset viewer.