The [web_request] type allows Lasso to access data passed from the web server about the request that it is trying to fulfill for a client.
The [web_request] method is an object that gets created with each request.
web_request
The code below will output the path of the URL sent to the web server. For this example, assume the following URL was requested: http://www.example.com/test?id=4&type=1
Code
web_request->requestUri
Result
/test?id=4&type=1
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