Description |
Determines whether to use a secure or an unsecure protocol. The value of ~secure determines whether to use the secure (HTTPS) or unsecure (HTTP) protocol:
You use this value to switch from HTTP (unsecure) to HTTPS (secure) communication within a session.
You use this value to switch from HTTPS (secure) to HTTP (unsecure) communication within a session.
You can also query whether the current request is using HTTPS or HTTP by setting ~secure to the value of ~http_https . In this case, the URL expands to use either HTTPS or HTTP. | |
Set by |
HTMLBusiness code. You use this parameter in the HTMLBusiness functions wgateURL and mimeURL . | |
Values |
Undefined |
Creates a relative URL. |
on |
Creates an absolute URL and uses the protocol type HTTPS. | |
off |
Creates an absolute URL and uses the protocol type HTTP. | |
Examples |
expands to: <a href="https://myHost:444/scripts/wgate/ vw01/!?~okcode=back">
expands to: <a href="http://myHost:1080/scripts/wgate/ vw01/!f?~okcode=back">
expands to either the HTTP or the HTTPS variant, depending on the protocol type of the current request. |