1WebCommon.setKayaMaxPost(3kayaK)aya module referenWceebCommon.setKayaMaxPost(3kaya)
2
3
4
6 WebCommon::setKayaMaxPost - Sets the maximum size of POST data
7
9 Void setKayaMaxPost( Int newmax )
10
12 newmax The maximum size in bytes
13
15 Sets the maximum size of POST data (in bytes) that the webapp or CGI
16 will accept. This has no useful effect unless called from a webconfig
17 function, as it will have already been called by then. POST data
18 received above this size will be entirely discarded.
19
20 The default value if this function is not called is 2097152 bytes (2
21 megabytes), unless the HTTP_KAYA_POST_MAX_SIZE environment variable is
22 set. This will generally be sufficient unless you are handling large
23 file uploads.
24
26 Kaya standard library by Edwin Brady, Chris Morris and others
27 (kaya@kayalang.org). For further information see http://kayalang.org/
28
30 The Kaya standard library is free software; you can redistribute it
31 and/or modify it under the terms of the GNU Lesser General Public
32 License (version 2.1 or any later version) as published by the Free
33 Software Foundation.
34
36 WebCommon.setKayaUploadDir (3kaya)
37
38
39
40Kaya December 2010 WebCommon.setKayaMaxPost(3kaya)