Kaya 0.5.3 reference for WebCommon::setKayaMaxPost

List of functions and data types in WebCommon

Void setKayaMaxPost(Int newmax)

Arguments

Usage

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 webconfig function, as it will have already been called by then. POST data received above this size will be entirely discarded.

The default value if this function is not called is 2097152 bytes (2 megabytes), unless the HTTP_KAYA_POST_MAX_SIZE environment variable is set. This will generally be sufficient unless you are handling large file uploads.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya