The [web_request->queryParam] takes one parameter, the name of a GET param, and returns the value passed by the client for that parameter.
web_request->queryParam('GET PARAM')
The code below displays the value of a GET parameter passed in the URL to the web server by the client. For this example, assume that the URL requested was http://www.example.com/test.lasso?id=1&type=3
Code
web_request->queryParam('id')
Result
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