By default, Find uses the session cookie FINDSESSIONID
to store session details. You can optionally rename the session cookie, for example if you want to run multiple instances of Find on the same domain and keep the session details separate.
To rename the session cookie
Start Find 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=FIND1SESSIONID -Didol.find.home=[home directory] -Dserver.port=[port] -jar find.war -uriEncoding utf-8
If you run Find as a service on Windows, you can also add the same arguments to the find.xml
file.
If you run Find as a service on Linux, you can add the argument to the existing arguments variable in find.sh
for SystemV, find.conf
for Upstart, or find.service
for systemd.
When you modify the Find configuration by modifying the XML file or start scripts, you must restart Find 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 find restart
to restart the service.
For more information on installing and running Find as a service on Windows or Linux, see Install Find.
|