Session Properties |
The Session type exposes the following members.
Name | Description | |
---|---|---|
AuditSuppression |
Gets/sets whether or not auditing is suppressed. For security reasons there is no platform
support for suppressing auditing in meta-data. This property must be set programmatically.
Note that, even when auditing is suppressed, audit events such as AuditInsert,
AuditUpdate, and AuditDelete
will be fired and it is the responsibility of the audit-handling code (e.g. any audit extension)
to honor this setting.
| |
CurrencyCulture |
Gets/sets the culture of the default currency for the system. The culture is specified as a .Net
culture such as en-GB (British Pounds Sterling) or en-US (United States Dollars).
| |
DateCulture | The culture to use for dates in the application. | |
FormatCurrency |
The default .Net numeric display format to use for fields mapped to currency data types,
e.g. "c0" for currency with no subunits.
If not specified, the currency format defaults to the "c" (standard currency) format.
| |
FormatDateTime |
The default .Net date/time display format to use for fields mapped to date/time data types,
e.g. "d" for short dates.
If not specified, the date/time format defaults to the "d" (short date) format.
| |
FormatFloat |
The default .Net numeric display format to use for fields mapped to floating point data types, e.g. "n0".
If not specified, the floating format defaults to the "f" (fixed-point) format.
| |
FormatInteger |
The default .Net numeric display format to use for fields mapped to integer data types, e.g. "n0".
If not specified, the integer format defaults to the "n0" (integer with thousands grouping) format.
| |
LogPageActivity |
Gets the value of LogPageActivity application property.
This property determines whether or not page rquests should be logged to the xot_request_log table.
| |
MasterSession |
Gets the value of MasterSession.
| |
NoViewStateCompression |
Gets the value of NoViewStateCompression application property.
This property determines whether or not the platform should compress the page ViewState.
| |
NumberCulture | The general culture to use numbers in the application. | |
Preferences |
Returns the preferences collection.
| |
RootPath |
Gets/Sets the root path for the application. This property is set automatically in the context of the web server.
| |
RootURL |
Gets/Sets the root URL to use for the application. This property is set automatically in the context of the web server.
| |
RootURLHttp |
Gets/Sets the root HTTP (vs. HTTPS) URL to use for the application. The HTTP root is currently only used to workaround
IE6 limitations with downloading attachment documents under HTTPS.
This property is set automatically in the context of the web server if HTTP is being used. If HTTPS is being used
then the RootURLHttp application property must be set in order to populate this value.
| |
StyleSheet |
Gets/Sets the application root relative path to the custom style sheet for the application.
| |
SuppressAlt |
Determines whether or not the ALT attribute should be suppressed. In general it should NOT
be suppressed, but on a few older browsers (specifically IE6/7) we need to suppress ALT
when no screen reader is being used and we want BubbleTips.
| |
TenantID |
The ID of the current tenant. This will be null unless a custom session object overrides this method.
| |
TimeZone |
Gets/sets the user's current timezone. See TimeZones.
The value will be null if the user's current timezone is now known.
| |
TokenValidHours |
The number of hours a persisted user token is valid. The default is 12 hours.
| |
UserPreferencesLoaded |
Returns true if the user Preferences have been loaded.
| |
UsesScreenReader |
Identifies whether or not user is using a Screen Reader for the visually impaired.
| |
VocabTenantID |
The ID of the current vocab tenant. This will be equal to TenantID unless set.
|