The [web_requestl->scriptUrl] method returns the SCRIPT_URL variable sent by the web server. This is usually the URL path without any of the query parameters.
web_request->scriptUrl
The code below displays the SCRIPT_URL variable sent to Lasso by the web server. This is generally the path portion of the URL requested, regardless of re-write rules. For this example, assume the URL http://www.example.com/test.lasso?id=1&type=3 was requested.
Code
web_request->scriptUrl
Result
/test.lasso
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