Lasso Soft Inc. > Home

[ web_request->scriptURL ]

Method

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.

  • Syntax
web_request->scriptUrl
Examples
  • Beginner

Display the requested URL path

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

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft