procedure TIWServerController.IWServerControllerBaseBrowserCheck( aSession: TIWApplication; var rBrowser: TBrowser);var MinVersion:Single;begin // If is IE, but older version if (( rBrowser is TInternetExplorer ) and ( not rBrowser.IsSupported )) then begin MinVersion := rBrowser.MinSupportedVersion; rBrowser.Free; // We will create it as the minimum supported version rBrowser := TInternetExplorer.Create(MinVersion); end;end;
procedure TIWServerController.IWServerControllerBaseBrowserCheck(
aSession: TIWApplication; var rBrowser: TBrowser);
var MinVersion:Single;
begin
// If is IE, but older version
if (( rBrowser is TInternetExplorer ) and ( not rBrowser.IsSupported )) then
begin
MinVersion := rBrowser.MinSupportedVersion;
rBrowser.Free;
// We will create it as the minimum supported version
rBrowser := TInternetExplorer.Create(MinVersion);
end;
end;