Rename the Session Cookie

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

To rename the session cookie

  • Start IDOL Site 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=ISA1SESSIONID -Didol.idolsiteadmin.home=[home directory] -Dserver.port=[port] -jar siteadmin.jar -uriEncoding utf-8

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

If you run IDOL Site Admin as a service on Linux, you can add the argument to the existing arguments variable in siteadmin.sh for SysV, siteadmin.conf for Upstart, or siteadmin.service for systemd.

When you modify the IDOL Site Admin configuration by modifying the XML file or start scripts, you must restart IDOL Site 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 siteadmin restart to restart the service.

For more information on installing and running IDOL Site Admin as a service on Windows or Linux, see Install IDOL Site Admin.