Session expiration

Qlik NPrinting web console uses HTTP cookies to handle sessions. Cookies are pieces of data related to user behavior on a website. They are stored on the user's computer. For example, cookie data could contain login or authentication information.

By default, all cookies generated previously are no longer valid when a user logs out of Qlik NPrinting. The user must to log in again if they want to access Qlik NPrinting.

If the user is using other instances of Qlik NPrinting or NewsStand, these instances will also be inaccessible. Closing the browser does not invalidate session cookies. The user must choose to log out.

You can change the default session expiration rules or remove them completely.

Customizing session expiration

The default value session means that expiration is handled by the browser or by forcing a logout. You can change this value and enter a custom period.

Do the following:

  1. Open the proxy configuration files.
    1. For the NewsStand: %ProgramData%\NPrinting\newsstandproxy\.

      Typical path is C:\ProgramData\NPrinting\newsstandproxy\.

    2. For the Qlik NPrinting web console: %ProgramData%\NPrinting\webconsoleproxy\.

      Typical path is C:\ProgramData\NPrinting\webconsoleproxy.

  2. Edit the session.expires field in the proxy configuration file. Valid time units are: "ns", "us" (or "µs"), "ms", "s", "m", "h".

    For example: session.expires=24h means that the session will expire after 24 non-use hours.

Disabling session expiration after logout

Do the following:

  1. Open the webengine.config file located in: %Program Files%\NPrintingServer\NPrinting\WebEngine\webengine.config.
  2. Uncomment this line: <add key="auth-session-expiration-on-logout-off" />.
  3. User sessions will no longer expire after logout.