Session information management

Feedback


Introduction to session management

The SuperMap GIS server supports the configuration of centralized sessions. Centralized session means that the session information is saved to a third-party database, and when the same session needs to be established again, it can be obtained directly from the database.

For GIS servers, opening a centralized session means that users can directly access multiple different addresses using the same browser with only one login. GIS server no need to log in repeatedly. Relatively speaking, using a single session mode without opening a centralized session means that users need to log in once every time they access a GIS server, even if the same user needs to log in, which increases duplication of work.

SuperMap GIS server supports Redis, PostgreSQL, Kingbase, GaussDB, Vastbase, and GBase 8c databases Store session information.

Note:

  1. The centralized session function only works between SuperMap GIS servers of the same type, such as the iServer server with different addresses. But centralized sessions cannot be realized between the iServer and the iPortal;
  2. Only the same account (the same user name and password) between SuperMap GIS servers can realize centralized conversation.

 

Configure a centralized session

Before starting a centralized session, you need to prepare the available database services. Use the centralized session method:

To enable a centralized session for a GIS server, the administrator needs to perform the following operations on the Security->Security Config->Session info management page:

  1. Enable centralized session, check Enable
  2. Select whether to enable the remote login warning. When enabled, you can set the iServer session timeout. The default value is the 18000000, in millisecond
  3. To connect to a database, select storage type.

      4.Click  Save  to make the configuration effective

In addition, you can set up a centralized session through the in the config file, as described in iServer config file .