Lasso Soft Inc. > Home

[ web_request->queryParams ]

Method

The [web_request->queryParams] method returns a staticarray of query parameters passed by the client in the URL. Each element in the staticarray is a pair of name=value.

  • Syntax
web_request->queryParams
Examples
  • Beginner

Display all GET parameters

The code below displays the value of all the query parameters 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->queryParams

Result

staticarray((id = 1), (type = 3))

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