Manage infobase user sessions
You can manage infobase user sessions in the Control panel:
You can also manage 1C server cluster sessions — view the list of sessions for all cluster infobases and end one or all sessions.
View session list
-
In the control panel, in the top menu, click Products and select Turnkey 1C in the Cloud.
-
Go to Infobases.
-
Open the infobase page → the Session management tab.
-
View the session list. The following is displayed for each session:
Terminate one or all sessions
- In the control panel, in the top menu, click Products and select Turnkey 1C in the Cloud.
- Go to Infobases.
- Open the infobase page → the Session management tab.
- To end a single session, in the session row, click and confirm the termination. You can find the desired session by username: in the field above the session list, start typing the name.
- To end all sessions, click End all sessions and confirm the action.
Set a session lock
When a session lock is enabled for an infobase, active users of the database will be prompted to save data and their sessions will be terminated. It will not be possible 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 via the cluster administration utility; to do this, refer to the View infobase properties guide in the 1C documentation.
- In the control panel, in the top menu, click Products and select Turnkey 1C in the Cloud.
- Go to Infobases.
- Open the infobase page → the Configuration tab.
- In the Support and Maintenance block, in the User sessions line, 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 lock end date and time. If you do not specify an end date and time, the infobase will be 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
БлокировкаСеансовobject. - Optional: to be able to connect to a locked infobase, enter an authorization code — any set of letters and digits. The authorization code must be specified when connecting to a locked infobase in the connection string parameter
UCor in 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, in the top menu, click Products and select Turnkey 1C in the Cloud.
- Go to Infobases.
- Open the infobase page → the Configuration tab.
- In the Support and Maintenance block, in the User sessions line, click Remove lock.
- Enter the username and password of an infobase user with administrator rights.
- Click Remove.