Session information management

Feedback


Introduction to session management

The SuperMap GIS server supports configuring a centralized session. A centralized session means that the session information is saved to a third-party database and can be obtained directly from the database to establish the same session again.

For GIS servers, opening a centralized session means that users can directly access multiple GIS servers with different addresses by logging in once using the same browser, without duplication login. While the single-session mode requires a user to log in every time accessing a GIS server, which increases repetitive work.

The SuperMap GIS server supports the storage of session information through the Redis database.

Note:

  1. The centralized session function only takes effect between the same type of SuperMap GIS server. For example, iServer servers with different addresses can share sessions, but an iServer can't share sessions with an iPortal.
  2. Only the same account (username and password are the same) between SuperMap GIS servers can realize a centralized session.

 

Configure a centralized session

Before using a centralized session, your need to prepare an available Redis database service. How to use a centralized session:

To enable a centralized session for a GIS server, you need to do the following operation on the "Session info management" tab of the Management > Security > Security Config page:

  1. Enable centralized session
  2. Input the Redis service address, such as: 192.168.17.116: 6379
  3. Click Save to take effect

You can also configure the centralized session via the configuration file, refer to the iServer configuration file.