I have a webapp which uses session based authentication with a username and password.
When a user is finished, they use a logout hotspot which uses a “?logout&redirectto” url. However what I’m finding is that it’s not ending the session of the user, so if they go back to the webapp, before closing their browser, they are automatically logged back in.
How can I force the session to end when the user logs out?
For session based authentication domino creates a cookie on the client machine and if you want to re-login then you need to clear the cookie before the session expiry timeout.
The way session authentication works is if you’ve a session timeout in the server doc specified say for eg 5 hours and the user closes the browser without using a proper logout script and re-opens a new browser window within the 5 hours then he doesn’t need to relogin. If after the 5 hours when the session expires then user will have to relogin.