WebNote: The Web subcategory is only available if the gateway mode is set to normal. The Web category allows you to tweak settings necessary for load balancing in certain scenarios. Here you can specify a redirection URL for web requests and a session cookie name to maintain persistence between a client and a server. Redirection URL The original web request can reach the gateway one of the following two ways:
When the gateway receives the web request, it takes the URL specified in the Web category and sends it back to the web browser for redirection. Technically, you can enter any URL here, and the original web request will be redirected to that URL. The primary purpose of this field, however, is to give end users an easy way to access the HTML5 Client from their web browsers. Here's how it works:
Default URL format The default URL format is the following:
In our example, the resulting URL that the web browser will use to access the HTML5 Client is the following:
The fact is, a user could simply use the above URL from the start, but thanks to the redirection feature, users only need to enter the server DNS name (or FQDN/IP-address on the local network) instead of the entire URL. Opening a specific HTML5 Client Theme HTML5 Client Themes is a feature that allows you to custom design the HTML5 Client look and feel for different groups of users. The default web request URL opens the default Theme. To make it open a specific Theme, add the Theme name at end of the URL as follows:
where For users to open a specific Theme, the URL that they enter in a web browser must contain the Theme name, but in this case the format is as simple as the following:
Using our Load Balancer DNS name example from above, the URL may look like the following:
For additional information, please see HTML5 Client Theme Settings > URLs. Open HTML5 Client The Open HTML5 Client button uses the specified gateway address and opens HTML5 Client on this particular gateway in a new tab. You can use this button to test your deployment. Web cookie The Web cookie field is used to specify a session cookie name. RAS HTML5 session persistence is normally set by user's IP address (source addressing). If you can't use source addressing in your environment (e.g. your security policy doesn't allow it), you can use the session cookie to maintain persistence between a client and a server. To do so, you'll need to set up a load balancer that can use a session cookie for persistence. The default cookie name is ASP.NET_SessionId. If you are using a third-party load balancer, such as Amazon Web Services (AWS), you need to specify its own cookie name. In case of AWS, when the load balancer first receives a request from a client, it routes the request to a target and generates a cookie named |
||||
|