Skip to main content
Version: 3.8.x.x LTS

Long polling Ajax calls

Long polling Ajax requests may have an impact on the logout behavior:

  • Session lock: nevisProxy waits with the session termination until all open HTTP requests of a user's session have been terminated before invalidating a session. Therefore, long polling Ajax requests may delay the logout process. You can change this behavior by disabling (set to "false") the ExclusiveSessionLock property within the identity creation filter of your realm.
  • Redirect to the wrong start page: The browser may perform Ajax calls after the user has logged out of the application and Nevis might redirect the user to the URL of this Ajax request if the user logs in again within the same browser session. In these cases, it's recommended to configure an AuthRedirect AuthState within your realm to terminate (AUTH_DONE) the login process using a pre-configured start page of the application.