[Lazarus] fcl-web (WebLaz) - Duplicate Module Error

Michael Van Canneyt michael at freepascal.org
Sun Dec 10 17:34:02 CET 2017



On Sun, 10 Dec 2017, African Wild Dog via Lazarus wrote:

> Hello,
>
> Please confirm if this is a bug:
>
> I have created a HTTP Server Application project and added a module called
> "test_module" with an action "test_action".
>
> When i run my application, when i access "
> http://localhost:8080/test_module/test_action" for the first time it works,
> but in the subsequent requests (like refreshing the page) i get the
> error '*Duplicate
> name: A component named "test_module" already exists*'.
>
>
> Environment: Debian Stretch 64 bits - fresh Lazarus 1.8 install

Set the 'Kind' property to wkOneShot.

Michael.


More information about the Lazarus mailing list