Available on php
This class is used for accessing the local Web server and the current client request and information.
Flush the data sent to the client. By default on Apache, outgoing data is buffered so this can be useful for displaying some long operation progress.
Returns an object with the authorization sent by the client (Basic scheme only).
Returns an hashtable of all Cookies sent by the client.
Modifying the hashtable will not modify the cookie, use
Get the multipart parameters as an hashtable. The data cannot exceed the maximum size specified.
Returns an Array of Strings built using GET / POST values.
If you have in your URL the parameters
php.Web.getParamValues("a") will return
Returns all the POST data. POST Data is always parsed as
being application/x-www-form-urlencoded and is stored into
the getParams hashtable. POST Data is maximimized to 256K
unless the content type is multipart/form-data. In that
case, you will have to use
Parse the multipart data. Call
onPart when a new part is found
with the part name and the filename if present
onData when some part data is readed. You can this way
directly save the data on hard drive in the case of a file upload.
staticsetCookie(key:String, value:String, ?expire:Date, ?domain:String, ?path:String, ?secure:Bool, ?httpOnly:Bool):Void
Set a Cookie value in the HTTP headers. Same remark as
Set an output header value. If some data have been printed, the headers have already been sent so this will raise an exception.