Click or drag to resize
RequestContext Properties

The RequestContext type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberClientApplication
Dictionary to be used to collect data from server for client application.
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyStatic memberCurrentDomain
Returns current URL domain, without trailing slashes.
Public propertyStatic memberCurrentExcludedStatus
Returns current excluded status of the request path
Public propertyStatic memberCurrentPort
Returns the current request URL port.
Public propertyStatic memberCurrentQueryString
Returns the current request URL query string.
Public propertyStatic memberCurrentRelativePath
Current page relative path. e.g. "~/Home.aspx" has relative path "/Home.aspx"
Public propertyStatic memberCurrentScheme
Returns the current request URL scheme.
Public propertyStatic memberCurrentStatus
Returns current request URL rewriting status.
Public propertyStatic memberCurrentURL
Returns the current request URL.
Public propertyStatic memberCurrentUrlExtension
Returns extension (part after last dot) contained in current URL. Extension starting with . (.ext) or empty extension if there is no extension is returned.
Public propertyStatic memberCurrentURLLangPrefix
Gets or sets the value that contains current language prefix for current URL.
Public propertyStatic memberCurrentURLPathPrefix
Gets or sets the value that contains current path prefix for current URL.
Public propertyStatic memberFullDomain
Returns current URL domain with port if exist.
Public propertyIsDefault
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.)
Public propertyStatic memberIsSSL
Indicates whether current request is SSL request.
Public propertyStatic memberIsUserAuthenticated
Returns true, if the user is authenticated
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyKey
Unique container key
(Inherited from ContextContainerTParent.)
Public propertyStatic memberLogCurrentError
If true (default), the current application error should be logged
Public propertyStatic memberLogPageHit
Indicates if page hit should be logged.
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyStatic memberRawURL
Current request RawUrl.
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyStatic memberServerHostAddress
Gets or sets server host address.
Public propertyStatic memberURL
Gets information about URL of current request.
Public propertyStatic memberURLReferrer
Returns URL referrer or empty string if HttPContext is not initialized.
Public propertyStatic memberUseGZip
If true, the filter uses GZip compression on output.
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyStatic memberUseNoCacheForRedirect
Indicates whether current redirect should add no-cache directive to the response header
Public propertyStatic memberUserAgent
Returns user agent or empty string if HttPContext is not initialized.
Public propertyStatic memberUserHostAddress
Gets or sets user host address. Returns empty string if HttpContext is not initialized and other value is not set.
Public propertyStatic memberUserName
Gets user name or empty string if HttpContext is not initialized. The user name is in the exact format in which the user is authenticated (may not be safe name).
Public propertyStatic memberUserUniqueIdentifier
Gets the unique identifier for the user - Session ID. If Session ID is missing, UserHostAddress is used.
Top
See Also