C-DEngine 5.105

TheSessionState Members

The TheSessionState type exposes the following members.

Methods


  Name Description
Public method CloneBase
Clonse an incoming object into this object
(Inherited from TheDataBase.)
Public method Dispose
Clears the session state
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FireEvent
Fire an Event on a property
(Inherited from TheDataBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetNextSerial
Increase the FID Serial Number by one
Public method GetSID
Get Scrambled ScopeID from Session
Public method GetType (Inherited from Object.)
Public method IsEventRegistered
Returns true if the requested eThingEvents has registered callbacks
(Inherited from TheDataBase.)
Protected method MemberwiseClone (Inherited from Object.)
Public method NotifyMirror
If called from a derived class and the class was stored in a StorageMirror, this method will call the "NotifyOfUpdate" method in the StorageMirror to inform all Notification Clients that this record has changed. This is VERY Expensive! Do not call too often! This does not work with StorageMirrors that require a PostSalt (unique table name)
(Inherited from TheDataBase.)
Protected method OnPropertyChanged (Inherited from TheBindableBase.)
Public method RegisterEvent
Register a callback that will be fired on a Property Event
(Inherited from TheDataBase.)
Public method RegisterEvent2
Register a callback that will be fired on a Property Event
(Inherited from TheDataBase.)
Protected method SetProperty``1 (Inherited from TheBindableBase.)
Public method ToString
User Friendly print of the current session state
Public method UnregisterEvent
Unregister a previously registered callback
(Inherited from TheDataBase.)
Public method UnregisterEvent2
Unregister a previously registered callback
(Inherited from TheDataBase.)

Properties


  Name Description
Public property ARApp
Web Relay APP Guid
Public property Browser
Browser definition of the session
Public property BrowserDesc
Long browser description of the session
Public property BrowserLanguage
Browser language as told by the User Agent of the browser
Public property cdeAVA
Availability of this record The higher this number the higher the availability of this record The Storage Service might store the data in multiple location to ensure maximum availability
(Inherited from TheDataBase.)
Public property cdeCTIM
Timestamp of this class. Will be set to DateTimeOffset.Now on creation of the Class
(Inherited from TheDataBase.)
Public property cdeEXP
Expiration in Seconds of the class If a derived class is stored in a StorageMirror and cdeEXP is set to>0, the StorageMirror will automatically delete this record after the time has passed
(Inherited from TheDataBase.)
Public property cdeMID
Unique Key for the class derived from TheDataBase. this will be used in the StorageService as the Unique Index in the SQL Tables
(Inherited from TheDataBase.)
Public property cdeN
Guid of Hosting Node - new in 4.108: Moved from MetaDataBase to here
(Inherited from TheDataBase.)
Public property cdePRI
Priority of this record. A lower number means a higher priority. Data with higher priority will be retrieved faster than those with lower prio
(Inherited from TheDataBase.)
Public property CID
Current User ID logged in and associated with this Session State
Public property CurrentURL
Current URL the user is on using this session
Public property CurrentWPID
Current Web Page ID
Public property CustomData
Custom data (string) to be stored with this session
Public property CustomDataLng
Custom Data (Long) stored with this session
Public property Debug
Custom Debug "Long" to be stored with the session
Public property EndTime
Time when the session was closed
Public property EntryTime
Creation time of the Session State
Public property HasExpired
if true, this session state is no longer valid and will be removed shortly
Public property HS
Current Home Screen
Public property InitReferer
HTTP Request Item: "Initial Referer"
Public property LastAccess
Last update of the session state
Public property LCID
Language ID of the current Session State. Will be set during login according to users setting in TheUserManager
Public property MyDevice
Client device GUID from User Manager "MyDeviceRegistry"
Public property PageHits
Hit Counter of pages for this session
Public property PCID
unused
Public property PUIDHigh
Passport PUID High
Public property PUIDLow
Passport PUID Low
Public property RemoteAddress
Request entry "RemoteAddress"
Public property RunID
Contains the SessionID. Used by Web Relay
Public property ScreenWidth
Screenwidth of the users browser screen
Public property SiteName
Root site name of this session
Public property SiteVersion
Version of the current host site
Public property StateCookie
State Cookie object
Public property StateCookies
Name/Value pairs of all session state cookies
Public property Status
Current status of the session
Public property TETO
URL Token for pin login
Public property TRGTSRV
first part of the site dns name (i.e. "test.c-labs.com" test is the TRGTSRV)
Public property UserAgent
String value holding the UserAgent field of an incoming http request. For example: "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0"
Public property WebPlatform
Current Browser platform the last request was sent from

Events


  Name Description
Public event PropertyChanged
Multicast event for property change notifications.
(Inherited from TheBindableBase.)