Host (HttpRequest property): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 10: | Line 10: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%httpreq</th> | <tr><th>%httpreq</th> | ||
<td>An instantiated <var> | <td>An instantiated <var>HttpRequest</var> object. | ||
</td></tr> | </td></tr> | ||
<tr><th>hostname</th> | <tr><th>hostname</th> | ||
<td>A string expression identifying the host by either full domain name or IP number. If left unset, it defaults to &amp;amp;ldquo;127.0.0.1&amp;amp;rdquo; (the Internet loopback address, which points to the host on which you are running). | <td>A string expression identifying the host by either full domain name or IP number. If left unset, it defaults to &amp;amp;amp;ldquo;127.0.0.1&amp;amp;amp;rdquo; (the Internet loopback address, which points to the host on which you are running). | ||
</td></tr> | </td></tr> | ||
<tr><th>%curr</th> | <tr><th>%curr</th> |
Revision as of 20:17, 16 June 2011
Target web server (HttpRequest class)
This property identifies the Internet site name or IP address of the target
web server for the HTTP request.
You set the target host by assigning a value to Host,
and you fetch its value by referencing it without any parameters.
Syntax
%currentString = httpRequest:Host httpRequest:Host = newString
Syntax terms
%httpreq | An instantiated HttpRequest object. |
---|---|
hostname | A string expression identifying the host by either full domain name or IP number. If left unset, it defaults to &amp;amp;ldquo;127.0.0.1&amp;amp;rdquo; (the Internet loopback address, which points to the host on which you are running). |
%curr | The string or longstring variable for the assignment of the current value of Host. |