Manage information base user sessions
You can manage information base user sessions in the control panel:
- to see a list of sessions;
- complete one or all sessions;
- set session lockout;
- to unblock the sessions.
You can also manage 1C server cluster sessions — see the list of sessions for all information bases in the cluster and terminate one or all sessions.
View a list of sessions
-
In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
-
Open the Information Base page → Session Management tab.
-
View the list of sessions. For each session is displayed:
End one or all sessions
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Session Management tab.
- To terminate a single session, in the session bar, click and confirm the termination. You can find the desired session by user name, to do this, start typing the name in the field above the list of sessions.
- To end all sessions, click End All Sessions and confirm the end.
Set session lockout
When session locking is enabled for an information base, active users of the base will be prompted to save their data and their sessions will be terminated. You cannot connect to the information base until the specified lockout expiration time has elapsed, or until you release the lockout.
In the Control Panel, you cannot see whether session locking is enabled for a database. If a session lock is already in effect for the information base and you set a new one, the previous lock is reset.
You can view active locks through the cluster administration utility, to do this use the View properties of 1C documentation information base instructions.
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Configuration tab.
- In the Support and Maintenance block, in the User Sessions row, click Set Lockout.
- Enter the lock start date and time (UTC+3). If you do not enter a start date and time, the lock will be set immediately.
- Enter the end date and time of the lockout. If you do not enter an end date and time, the information base will be locked until you release the lock.
- Optional: enter the message that will be displayed when you try to connect to a locked information base.
- Optional: enter a lock parameter — arbitrary text. It will be set as a parameter of
the LockSessions
object. - Optional: To be able to connect to a blocked information base, enter a permission code — any set of letters and numbers. The permission code must be specified when connecting to a locked database in the
UC
connection string parameter or in the/UC
command line parameter, for example/UC123456
. - Click Next.
- Enter the login and password of the user of the information base with administrator rights.
- Click Install.
Release session lockout
When you remove the lock, users will be able to reconnect to the information base.
- In the control panel, in the top menu, click Products → 1C Ready Cloud → Information Databases section.
- Open the Information Base page → Configuration tab.
- In the Support and Maintenance block, in the User Sessions row, click Unlock.
- Enter the login and password of the user of the information base with administrator rights.
- Click Withdraw.