request

request:is_pcmdr

Returns true or false if current page is a command shift r preview (html preview link)

request:get

HTTP GET variables

request:get_body

Get request body

request:post

HTTP POST variables

request:get_function_argument

Get an argument provided in the request by user

request:arguments

Holds an array of mereged request:post and request:get (posts overwriting get)

request:url

Information about current requested URL

request:redirect_to

Redirect the current request to another URL

request:gzip_is_allowed_by_client?

Is Gzip allowed by client?

request:serve

Stop the application and serve the given $data or use the buffer if non given

request:set_cookie

Cookies are a mechanism for storing data in the remote browser and thus tracking or identifying return users. Cookies are part of the HTTP header, so request:set_cookie() must be called before any output is sent to the browser.

request:get_cookies

Get the cookies that are getting set on the server side for this request.

request:unset_cookie

Unset a cookie by name.

Copyright ©2013-2022 SunSed®. All rights reserved.