Atozed Forums

Full Version: ServerController.SecurityOptions.CheckWindowId
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

C++Builder 10.3.2
IW 15.1.5 ULT

I have set the parameter and can still clone any application tab in Mozilla Firefox or create a new tab with the same URL.
With each session copy of the application, I can perform different functions.
Have I misunderstood something or is it not working as described?

Regards
Juergen
It depends on the tracking mode that you are using how IW handles this. For some tracking modes this is valid as it will create new sessions in new windows/tabs.
OK, I thought so.

Is it possible to get more information on how to set other configuration parameters to use this functionality.

Regards
Juergen
You need to set CheckWindowId to True and set the OnWindowIdChanged event (in ServerController).

On the event you will use the parameter vContinue to tell IW if you are allowing the user to continue or not. Try this and see the result:


Code:
procedure TIWServerController.IWServerControllerBaseWindowIdChanged(
  ASession: TIWApplication; var vContinue: Boolean);
begin
  vContinue := False;
end;
Great, it works.

Regards
Juergen