$Web Secure: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Syntax) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:$Web_Secure}} | {{DISPLAYTITLE:$Web_Secure}} | ||
<span class="pageSubtitle" | <span class="pageSubtitle">Check if thread running on secure port</span> | ||
$Web_Secure indicates if the thread is running on a secure (SSL) port. | <var>$Web_Secure</var> indicates if the thread is running on a secure (SSL) port. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax" | <p class="syntax"><span class="term">%rc</span> = $Web_Secure | ||
</p> | |||
$Web_Secure takes no arguments and returns a status code | <var>$Web_Secure</var> takes no arguments and returns a status code: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>Code</th> | <tr><th>Code</th> | ||
<th>Meaning</th></tr> | <th>Meaning</th></tr> | ||
<tr><th>0</th> | <tr><th>0</th> | ||
<td>Not on a secure port, or not a Web Server thread.</td></tr> | <td>Not on a secure port, or not a Web Server thread.</td></tr> | ||
<tr><th>1</th> | <tr><th>1</th> | ||
<td>Web Server thread running on a secure (SSL) port.</td></tr> | <td>Web Server thread running on a secure (SSL) port.</td></tr> | ||
</table> | </table> | ||
[[Category:Janus Web Server $functions|$Web_Secure]] | [[Category:Janus Web Server $functions|$Web_Secure]] |
Latest revision as of 21:44, 5 June 2013
Check if thread running on secure port
$Web_Secure indicates if the thread is running on a secure (SSL) port.
Syntax
%rc = $Web_Secure
$Web_Secure takes no arguments and returns a status code:
Code | Meaning |
---|---|
0 | Not on a secure port, or not a Web Server thread. |
1 | Web Server thread running on a secure (SSL) port. |