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.
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?
initialization
RegisterHTTPModule('TFPWebModule', Tfpwm1);
Or may I change like:
initialization
RegisterHTTPModule('Tfpwm1', Tfpwm1);
Regards,