$Web Secure: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
Line 8: Line 8:
</p>
</p>


<var>$Web_Secure</var> 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>
<p class="caption">$WEB_SECURE return codes</p>


[[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.