Shared variables created during client side http requests can come from both GET or POST, or a combination of both
Variable names can contain almost any character.
Any variable name which ends with '[]' characters is stored by Skylark as ValueArray on server side; otherwise it's a normal Value.
Array variables are useful during file uploads, for example, when multiple files are selected at once.
Using this http form :
<form action='upload' method='POST' id='myForm' enctype='multipart/form-data'>
<input type='file' name='FilesToUpload[]' multiple=''>
</form>
On server side you'll find following ValueArray variables:
http["FilesToUpload[]"] with transferred file contents
http["FilesToUpload.content_type[]"] with transferred file content types
http["FilesToUpload.filename[]"] with transferred file names
Beware that the '[]' characters are parts of the variable name, to be able to distinguish them from normal Value variables without need to test them.
|