The [web_request->contentLength] method returns the length of the post data sent to the server.
web_request->contentLength
The code below will output 'No POST data' if the web server was not passed any post parameters and 'POST data' if it was passed post parameters.
Code
web_request->contentLength == 0 ? 'No '
'POST data'
Result
No POST data
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments