[Server_Port] returns the port from which the current request is being served. Usually 80 for normal HTTP requests or 443 for secure HTTPS requests.
Note: The port is configured in the Web server preferences. See the documentation for your Web server application for more information.
Server_Port
Check the value for [Server_Port]. Usually, if it is 443 then the page is being served securely.
Code
[If(Server_Port == 443)]<br><p>The page is being served securely.</p>[Else]<br><p>The page is not being served securely.</p>[/If]
Result
The page is not being served securely.
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments