Cannot use the Remember me option on a server with multiple server instances

If you are running multiple server instances on the same server (for example, klocwork.example.com:8080 and klocwork.example.com:8072) and log in to each server with different credentials (for example, you use jsmith to log into the server on port 8080 and jdoe to log into the server on port 8072), the "Remember me" feature does not work properly. The authentication key is stored in a browser cookie and can only be stored for a domain (the port cannot be specified).

Workaround: There are two options:

  • For the first server, access the site using the normal domain name (for example, jdoe1.klocwork.com:8080); on the second, use the IP address of the Klocwork Server instead of the domain name (for example, 11.3.145.7:8070).
  • Set up a domain alias for the second server (either locally via your hosts file, or by setting it up globally).