Changeset 149 for trunk/Pages


Ignore:
Timestamp:
Feb 4, 2024, 2:14:37 PM (11 months ago)
Author:
chronos
Message:
  • Modified: Update Common package.
  • Added: Project group.
  • Modified: Assign ModuleUser to modules which use it in later time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Pages/ServerInfoPage.pas

    r146 r149  
    1212  TServerInfoPage = class(TWebPage)
    1313    procedure DataModuleProduce(HandlerData: THTTPHandlerData);
    14   public
    15     ModuleUser: TModuleUser;
    16   end;
     14  end;
    1715
    1816var
     
    3028
    3129procedure TServerInfoPage.DataModuleProduce(HandlerData: THTTPHandlerData);
     30var
     31  ModuleUser: TModuleUser;
    3232begin
    3333  with TWebSession(HandlerData) do begin
     34    ModuleUser := TModuleUser(ModuleManager.FindModuleByName('User'));
    3435    ModuleUser.LoadUserInfo;
    3536    Session.Values['Test'] := 'Tst';
Note: See TracChangeset for help on using the changeset viewer.