Lasso Soft Inc. > Home

[ client_formmethod ]

Method

[Client_FormMethod] returns the method used to load the current page. Possible return values include GET and POST. Some Web servers might also send HEAD requests on to Lasso.

POST submissions encode the form data into a URL passed to the submission page.

GET submissions encode and pass the form data into name-value pairs into the body of the submission page.

HEAD requests request only headers from the form submission page.

  • Syntax
Client_FormMethod
Examples
  • Beginner

To display the GET or POST parameters depending on what type of method was used to load the current page:

Use the [Client_FormMethod] method to check if GET or POST was used to load the current page and the [Client_GetArgs] or [Client_PostArgs] methods to retun the parameters.

Code

if(Client_FormMethod >> 'GET')
	Client_GetArgs
else(Client_FormMethod >> 'POST')
	Client_PostArgs
/if

Result

paired=values&this=too

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