.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "WebCommon.setKayaMaxPost" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" WebCommon::setKayaMaxPost \- Sets the maximum size of POST data .SH "SYNOPSIS" .B Void setKayaMaxPost( \fIInt newmax\fP .B ")" .SH "ARGUMENTS" .PP .B "newmax" The maximum size in bytes .SH "DESCRIPTION" .PP Sets the maximum size of POST data (in bytes) that the webapp or CGI will accept. This has no useful effect unless called from a \fBwebconfig \fP function, as it will have already been called by then. POST data received above this size will be \fBentirely\fP discarded. .PP The default value if this function is not called is 2097152 bytes (2 megabytes), unless the \fBHTTP_KAYA_POST_MAX_SIZE \fP environment variable is set. This will generally be sufficient unless you are handling large file uploads. .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .B "WebCommon.setKayaUploadDir"(3kaya) .PD 0.4v