Rename the Session Cookie

By default, IDOL Data Admin uses the session cookie IDASESSIONID to store session details. You can optionally rename the session cookie, for example if you want to run multiple instances of IDOL Data Admin on the same domain and keep the session details separate.

To rename the session cookie

  • Start IDOL Data Admin with the Java run command, and include the following arguments:

    -Dserver.session.cookie.name=MYNEWSESSIONNAME

    where MYNEWSESSIONNAME is the new session cookie that you want to use.

    For example:

    java -Dserver.session.cookie.name=IDA1SESSIONID -Didol.dataadmin.home=[home directory] -Dserver.port=[port] -jar dataadmin.jar -uriEncoding utf-8

If you run IDOL Data Admin as a service on Windows, you can also add the same arguments to the dataadmin.xml file.

If you run IDOL Data Admin as a service on Linux, you can add the argument to the existing arguments variable in the start scripts (dataadmin.sh for SysV, dataadmin.conf for Upstart, or dataadmin.service for systemd).

When you modify the IDOL Data Admin configuration by modifying the XML file or start scripts, you must restart IDOL Data Admin to apply your configuration changes.

On Upstart, you must also run initctl reload-configuration before you restart, to apply the init file changes. You can then run service dataadmin restart to restart the service.