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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Free Pascal - Lazarus mailing list
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

Regards

--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

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

Free Pascal - Lazarus mailing list


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.
--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus