procedure TMainForm.UniFormScreenResize(Sender: TObject; AWidth,
AHeight: Integer);
begin
// just use AWidth in this event
//var ScreenWidth := UniSession.UniApplication.ScreenWidth;
end;
If I understand correctly you are trying to access the headers generated by the website that the UniURLFrame.URL loading. If this is the case I think it is not possible either with uniGUI or javascript.
Since you are using CreateAnonymousThread and calling TUniServerModule.myproc, TUniServerModule has already same named property "Terminated". So I think you would better have your thread class and check the threads "Terminated" property within. Then you be able to exit the while loop. Also after FmyThread.Terminate; you can call thread waitfor better cleanup.
@M.Ammar
This is from Hyperserver documentation. Did you consider these notes?
If you plan to run more than one instance of HyperServer on same OS then port numbers should be arranged in a way that they won't conflict with each other. You must ensure that all Nodes will be assigned unique port numbers. This can be easily done by leaving port gaps for each HyperServer instance. It can be calculated using below formula:
<start_port for new HyperServer instance> = <start_port of previous HyperServer instance> + ( <max_nodes of previous HyperServer instance> × 3 ) + 8
Consider that you plan to install three HyperServer instances on same server. Instances are configured with max_nodes parameters of 8, 16 and 16 respectively.
For 1st instance start_port is configured as 16384 ( or any other desired value )
For 2nd instance start_port should be configured as 16384 + ( 8×3 + 8 ) = 16416
For 3rd instance start_port should be configured as 16416 + ( 16×3 + 8 ) = 16472
I was about to try similar deployment but after reading your post I will wait..
Are your hyperserver.dll's named differently like hyperserver1.dll and hyperserver2.dll and with their own configs.
I don't use hyperserver but use similarly multiple app pools on the same IIS server.
So do you mean you are getting this issue only when run with hyperserver? Does apps interfere without hyperserver?
Hi @Sherzod
Is this the expected normal behaviour? Should I expect to receive a HandleEvent call after every move to other row in this grid? I don't understand this.
SessionManager.Sessions.Lock;
try
for I := 0 to SessionManager.Sessions.SessionList.Count -1 do
begin
end;
finally
SessionManager.Sessions.Unlock;
end;