Manage infobase user sessions
You can manage infobase user sessions in the Control panel:
You can also manage 1C server cluster sessions — view the session list for all infobases in the cluster and terminate one or all sessions.
View session list
-
In the Control panel, on the top menu, click Products and select Managed 1C Cloud.
-
Go to the Infobases section.
-
Open the infobase page → Session Management tab.
-
View the session list. The following is displayed for each session:
Terminate one or all sessions
- In the Control panel, on the top menu, click Products and select Managed 1C Cloud.
- Go to the Infobases section.
- Open the infobase page → Session Management tab.
- To terminate a single session, click in the session row and confirm the termination. You can find the required session by username by starting to enter the name in the field above the session list.
- To terminate all sessions, click Terminate all sessions and confirm the termination.
Set a session lock
When session locking is enabled for an infobase, active users of the database will receive a prompt to save their data, and their sessions will be terminated. You will not be able to connect to the infobase until the specified lock end time is reached or until you remove the lock.
In the Control panel, you cannot see whether a session lock is currently enabled for an infobase. If a session lock is already active for an infobase and you set a new one, the previous lock will be reset.
You can view active locks using the cluster administration utility; to do this, use the Viewing infobase properties instruction in the 1C documentation.
- In the Control panel, click Products in the top menu and select 1C Cloud.
- Go to the Infobases section.
- Open the infobase page → Configuration tab.
- In the Support and maintenance block, in the User sessions row, click Set lock.
- Enter the lock start date and time (UTC+3). If you do not specify a start date and time, the lock will be set immediately.
- Enter the date and time for the lock to end. If you do not specify a date and time for the end, the infobase will remain locked until you remove the lock.
- Optional: enter a message that will be displayed when someone tries to connect to the locked infobase.
- Optional: enter a lock parameter—arbitrary text. It will be set as a parameter of the
SessionLockobject. - Optional: to allow connecting to a locked infobase, enter an authorization code—any set of letters and numbers. The authorization code must be specified when connecting to the locked infobase in the connection string parameter
UCor the command-line parameter/UC, for example/UC123456. - Click Next.
- Enter the username and password of an infobase user with administrator rights.
- Click Set.
Remove a session lock
Once you remove the lock, users will be able to connect to the infobase again.
- In the Control panel, click Products in the top menu and select 1C Cloud.
- Go to the Infobases section.
- Open the infobase page → Configuration tab.
- In the Support and maintenance block, in the User sessions row, click Remove lock.
- Enter the username and password of an infobase user with administrator rights.
- Click Remove.