[Gambas-user] WebForm With httpd
Benoît Minisini
g4mba5 at gmail.com
Sat Jan 20 17:02:52 CET 2018
Le 18/01/2018 à 22:09, Mayost Sharon a écrit :
> Hello
>
> gambas: 3.10.0
>
>
> I want to compile my WebForm
> And I want to run it with an "HTTPD server"
>
> NOT with "gambas embedded HTTP"
>
> The reason is that when I run with an "gambas embedded HTTP"
>
> If there are "Multiple clients"
>
>
> When a client first clicks a button and it enters the event and executes "SLEEP 30"
> It stops the all clients
>
> For example, if the WebForm displays a "CLOCK"
> It stops everybody's clients
>
> Is there a solution to this problem
>
>
>
> Export
>
> Public Sub WebTimer1_Timer()
> WebLabel1.Text = Now()
> End
>
> Public Sub WebButton2_Click()
> Sleep 20
> End
>
This is by design. The embedded HTTP server does that (serializing all
requests) to help debugging.
If you want to test your application for real, you have to install a
true HTTP server on your system, and copy your project executable in the
accurate place where it can act as a CGI script.
Regards,
--
Benoît Minisini
More information about the User
mailing list