Lasso Soft Inc. > Home

[ client_getparams ]

Method

[Client_GetParams] returns a pair array containing an element for each parameter passed along with the URL in the current request.

  • Syntax
Client_GetParams
Examples
  • Beginner

To check whether a given parameter was specified in the URL that loaded the current page:

Check the [Client_GetParams] array. The following example uses the [Array->Find] method to check whether the GET parameters contain an argument for 'Username'. If the parameter is not found then the empty array is returned.

Code

if(Client_GetParams->Find('Username') != array)
	'A Username was specified.'
/if

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