Webbrowser session as sub-session of host with alternative IP
Hi,
what would be best-practice for the following configuration:
In the end the Webbrowser-session should open no matter if directly within the network or connected via VPN
Thx and KR, Roland
Hello,
Thank you for reaching out to us regarding this,
I have a few questions which you can hopefully answer.
That being said, If you go into your "RDP" entry "Properties" under the "Description" section it's possible to configure "Alternate Host". As for having this resolved in the sub-entry, I've not had much success on my end so far.
A simple workaround would be to simply have 2 Website entries.
I will discuss this with our engineering department to see if they have an idea that may work for your case.
Best regards,
Samuel Dery
Hi,
Version: 2022.3.26.0 64-bit
Data Source: both <file>.xml and MS SQL Server
Alternate Host is configured on the entry of type "Host"
I would like to have this information inherited by the Sub-Entry/Session of type "Webbrowser" and automatically "decide" which IP to use.
Of course there are workarounds... where the workaround with the two Website-entries does not look that nice to me...
Currently I have the following (in my eyes) workaround, but also not too happy with it:
a) Create host with info "Host" and "Alternate Host"
b) Create subsession of type "Webbrowser" with
# $RDM | Export-Clixml C:\temp\rdm_dump1.xml $RDM.connection.WebBrowserUrl = "http://$($RDM.Connection.HostFull):8080" # $RDM | Export-Clixml C:\temp\rdm_dump2.xml $RDM.save()
Obviously when trying to connect, RDM first tries to PING the "Website". If reachable this info is stored in $RDM.Connection.HostFull, otherwise the info of the alternate host ist stored within $RDM.Connection.HostFull. So in the end I build the URL by the script.
In my eyes there shoul be a more elegant solution without the need of powershell scripting but rather only by usage of variables within the Web-URL.
KR, Roland
Hello,
Thank you for your patience,
I've discussed your case with our engineering department and the best option to achieve what you're looking for in this case would be with variables and using the Alternate Host.
I see you've already created your "Host" entry and are using the alternate host, that's good.
I see you've already created your "Host" entry and are using the alternate host, that's good. For the "Website" entry I would recommend in the "Website" field you use the value "https://$PARENT_HOST$:$PARENT_PORT$.com" and under the "Description" section add an Alternate host with the following "https://$PARENT_Alternate_HOST$::$PARENT_PORT$.com"
with this configuration and with the "Alternate Host" option set to "Prompt" when launching the browser entry you will be prompted to choose which host you would like to use.
Let me know if this helps,
Best regards,
Samuel Dery