The [web_request->httpHost] method returns the Host HTTP header sent to the server by the client.
web_request->httpHost
The code below will display the Host HTTP header that the client sent to the server which should be the same as the hostname for the server. For the example below, assume the URL called was http://www.example.com/test.lasso
Code
web_request->httpHost
Result
www.example.com
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