Changing webmodule's name lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- egsuh · 2018-01-30 08:52 Hi, When I create an CGI (or FCGI) application, unit1 is automatically created as well. If I change the name of the module (e.g. from FPWebModule1 to fpwm1) at the object inspector,  the type name is changed to Tfpwm1 as follows. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  type   { Tfpwm1 }   Tfpwm1 = class(TFPWebModule)    procedure DataModuleAfterInitModule(Sender: TObject; ARequest: TRequest);   .......  end;   var    fpwm1: Tfpwm1;   But in the initialization section, the name within quotations are not changed as follows. Is this OK? Doesn't this mean that if I write many web module programs, they are RegisterHTTPModuled with the same name? Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i initialization  RegisterHTTPModule('TFPWebModule', Tfpwm1); Or may I change like: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i initialization  RegisterHTTPModule('Tfpwm1', Tfpwm1); Regards, ---------------------------------------------------------------------- Leledumbo · 2018-01-30 18:19 When you make a request, the module matching that registered name will handle it. I forget what the behavior is, but registering multiple modules with the same name will not work, either only one module will always handle the request or something worse.