6.4.1. External session management


<< Prev   Next >>

When you use information systems, you might face some situations when you need to manage the capability to create a new session with infobases:

  • Restrict the number of concurrent infobase users.
  • Ensure a guaranteed reserve of licenses when working with an infobase. For example, with 100 licenses available, to provide guaranteed access to the infobase for two users with particular names.
  • Perform other similar tasks.

The external session management feature is designed to address these problems. The feature requires a dedicated web service that allows or prohibits session creation. The feature operates both with client/server and file infobases. File infobase operation is supported if all the following conditions are met:

  • 1C:Enterprise client application version 8.3.22 or later.
  • External session management web service version 4 or later.

The feature operates as follows:

  • When the system attempts to start a session, 1C:Enterprise notifies the web service that a session needs to be created and provides the web service with a set of parameters that define all characteristics of the session to be created (infobase name, username, client application IP address, and so on).
  • The web service decides whether to allow session creation and returns control to the calling party. If required, the web service can keep records of created sessions broken down by requested sections.
  • At the end of the session, 1C:Enterprise notifies the web service that the session is ending.
  • If the session enters or leaves the Hibernating state, 1C:Enterprise notifies the web service of this event. This feature is available only if you use the web service that supports the operation protocol of version 2 or later.

The external session management service possesses exact information on the current number of open sessions in infobases under its control and can make appropriate decisions.

The external session management service is only called for the sessions that require a client license:

  • Designer
  • Thick client
  • External connection
  • Thin client
  • Web client
  • Mobile client
  • 1C:Analytics client

When you start other session kinds, the external session management service is not called.

To set up the external session management service, use the following:

  • In the file infobase, the conf.cfg configuration file (see article conf.cfg).
  • In the server infobase, server cluster infobase properties.

For details on the external session management web service, see article External session management web service.

<< Prev   Next >>

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002