RequestContext Properties |
The RequestContext type exposes the following members.
Name | Description | |
---|---|---|
ClientApplication |
Dictionary to be used to collect data from server for client application.
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
CurrentDomain |
Returns current URL domain, without trailing slashes.
| |
CurrentExcludedStatus |
Returns current excluded status of the request path
| |
CurrentPort |
Returns the current request URL port.
| |
CurrentQueryString |
Returns the current request URL query string.
| |
CurrentRelativePath |
Current page relative path. e.g. "~/Home.aspx" has relative path "/Home.aspx"
| |
CurrentScheme |
Returns the current request URL scheme.
| |
CurrentStatus |
Returns current request URL rewriting status.
| |
CurrentURL |
Returns the current request URL.
| |
CurrentUrlExtension |
Returns extension (part after last dot) contained in current URL.
Extension starting with . (.ext) or empty extension if there is no extension is returned.
| |
CurrentURLLangPrefix |
Gets or sets the value that contains current language prefix for current URL.
| |
CurrentURLPathPrefix |
Gets or sets the value that contains current path prefix for current URL.
| |
FullDomain |
Returns current URL domain with port if exist.
| |
IsContentPage |
Indicates that the current request is a request to the content page.
| |
IsDefault |
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.) | |
IsSSL |
Indicates whether current request is SSL request.
| |
IsUserAuthenticated |
Returns true, if the user is authenticated
| |
Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.) | |
Key |
Unique container key
(Inherited from ContextContainerTParent.) | |
LogCurrentError |
If true (default), the current application error should be logged
| |
LogPageHit |
Indicates if page hit should be logged.
| |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) | |
RawURL |
Current request RawUrl.
| |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) | |
ResponseIsCompressed |
Indicates whether the current response contains compressed data.
| |
ServerHostAddress |
Gets or sets server host address.
| |
URL |
Gets information about URL of current request.
| |
URLReferrer |
Returns URL referrer or empty string if HttPContext is not initialized.
| |
UseGZip |
If true, the filter uses GZip compression on output.
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
UseNoCacheForRedirect |
Indicates whether current redirect should add no-cache directive to the response header
| |
UserAgent |
Returns user agent or empty string if HttPContext is not initialized.
| |
UserHostAddress |
Gets or sets user host address. Returns empty string if HttpContext is not initialized and other value is not set.
| |
UserName |
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).
| |
UserUniqueIdentifier |
Gets the unique identifier for the user - Session ID. If Session ID is missing, UserHostAddress is used.
|