Get Request Info Activity
Gets information about the current HTTP request.
This activity provides access to various properties of the current HTTP request, such as the
RequestInfo object is only populated if the workflow was initiated by an HTTP request. When this activity executes in the simulator, the object is empty.
In a Workflow:
You could use this activity to determine which
UserAgent (web browser) the current user is using. Alternatively it can generate a client token for a secured map service using the
UserHostAddress with the Generate Token activity.
You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.
Note that the
The RequestInfo Class:
Geocortex.Workflow.Runtime.RequestInfo type exposes the following properties:
ApplicationPath: Gets or sets the application's virtual root path on the server.
ApplicationUri: Gets or sets the application's URI, not including the current path and query string.
Headers: Gets the collection of HTTP headers.
Culture: Gets the user preferred culture of the request.
Path: Gets or sets the virtual path of the current request.
Referrer: Gets or sets the HTTP referrer.
Token: Gets or sets the token associated with the request.
Uri: Gets or sets the URI.
UserAgent: Gets or sets the user agent.
UserHostAddress: Gets or sets the user host address.
UserLanguages: Gets a sorted string array of client language preferences.
Supported from: Geocortex Essentials 3.10.