Link | client_params_9 |
Author | Jolle Carlestam |
Category | Client |
Version | 9.x |
License | Public Domain |
Posted | 13 Oct 2009 |
Updated | 10 Nov 2010 |
More by this author... |
Returns a static array of GET/POST parameters passed from the client. An optional param "method" can direct it to return only post or get params.
New version 2010-11-11 based on same code as action_params but without the inline sensing parts.
client_params; client_params('post'); client_params(-method = 'get');
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
{ /* 2010-11-11 JC New version based on same code as action_params but without the inline sensing parts. */ if (web_request) #method == 'get' ? return web_request -> queryParams #method == 'post' ? return web_request -> postParams return tie(web_request -> queryParams, web_request -> postParams) -> asStaticArray /if return staticarray } define client_params(-method::string = '') => client_params(#method) ?>
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft