MasterServerSessionManager Class
From RemObjects Software
This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.
Overview (.NET)
This class implements a Session manager that uses the Master Server back-end to store and access session data.
Namespace
Declaration (C#)
[System.Drawing.ToolboxBitmap(typeof(RemObjects.SDK.Server.SessionManager), "Glyphs.MasterServerSessionManager.bmp")] [LicenseProvider(typeof(ROLicenseProvider))] public class MasterServerSessionManager : SessionManager;
Hierarchy
- System.ComponentModel.Component
- RemObjects.SDK.Server.SessionManager
- RemObjects.SDK.Server.MasterServerSessionManager
- RemObjects.SDK.Server.SessionManager
Properties
| | | |
|---|---|---|
| Channel | ClientChannel | Used to communicate with the Master Server, which can be running locally or on a remote system.
This must be a channel supported by the Master Server applications. |
| Timeout | Integer | Determines the timeout (in seconds) after which sessions will be discarded if they have not been accessed.
The default value is 600 seconds (10 minutes). Note Note that each session contains it's own Timeout property, which will be initialized to this value when the session is created. The timeouts can later be changed on a per-session basis during the lifetime of the session. |
Methods
| | |
|---|---|
| DestroySession | |
| ExpireSessions | This method will expire all sessions in the Session Manager that have exceeded the timeout.
Note SessionManager will regularly check for expired sessions automatically, but you can use this method to trigger an expiration cycle manually. |
| ReleaseSession |
See Also
Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)
Lists — Glossary — Features — How To — Components — Tools — Samples — Articles — Architecture — Issues
