Request object
An object providing information on the current web request.
Properties
Name | Description | Data type |
---|---|---|
AbsoluteUrl | The absolute URL of the request. For example: 'http://www.yourwebsite.co.uk/about-us/' |
Text |
ClientHostName | The host name of the client obtained from the reverse-DNS entry for 'ClientIPAddress'. | Text |
ClientIPAddress | The client's IP address. Can be either an IPv4 or an IPv6 address. | Text |
Form | A dictionary containing the form data contained in the request. | Dictionary |
Host | The value of the host header in the request. For example: 'www.yourwebsite.co.uk' |
Text |
HttpMethod | The HTTP method used in the request. For example: 'POST' or 'GET' |
Text |
IsFirstRequest | Returns True if this is the first request for this session, otherwise False. | Boolean |
IsIPv6 | Returns True if the request uses IPv6, otherwise False. | Boolean |
IsMobileDevice | Returns True if the client device is detected as a mobile device, otherwise False. | Boolean |
IsSecure | Returns True if the connection from the client is secure (e.g. https not http), otherwise False. | Boolean |
Path | The full path of the request. | Text |
PathAndQueryString | The full path and query string of the request. | Text |
QueryString | A dictionary containing the query string data contained in the request. | Dictionary |
QueryStringText | The query string of the request. | Text |