MasterServerSessionManager Class

From RemObjects Software

Jump to: navigation, search

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

Properties

Property
Type
Description
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

Method
Description
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)

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools