Gets or sets a value indicating whether the server should work as if it were always running on a secure server (https).
[Visual Basic]
Public Property ForceSSL As
Boolean
[C#]
public
Boolean ForceSSL {get; set;}
Remarks
EO.Web WebControls render slightly different HTML/JavaScript code when the request is from a secure HTTPS connection instead of a normal HTTP connection. Such difference is necessary because otherwise the client user will receive "This page contains both secure and insecure contents" warning message when viewing the control in a secure page. The difference is automatically handled by the control based on the return value of HttpRequest.IsSecureConnection.
Under some special circumstance, particularly when a load balancer or a proxy server is involved, HttpRequest.IsSecureConnection may not reflect the true connection type. While the connection between the end user and the load balancer/proxy server can be a secure connection, the connection between the load balancer/proxy server and the Web server may not be. In this case, the Web server will serve the "regular HTML" instead of "secure HTLM" that is needed by the end browser.
To avoid this problem, set this property to True.
See Also
WebControl Class | EO.Web Namespace