Sync gateway does not delete sessions

The admin endpoint to delete all sessions for a user does not work.
On our mobile app the sync stops but if we check the session is says valid.
On our dashboard nothing changes, the session keeps working.

This did work in the past, but it looks like the sessions are no longer deleted straight away.

Any assistance would be great, we are on community edition.

Is it possible this is a display only bug and that the sessions are actually invalidated?

We have a fix for this in the 3.3 upcoming release of Sync Gateway Jira if so.

Hi thanks for the response, let me get my developer to check and confirm, will respond back tomorrow :slight_smile:

Hi,

It’s not a display bug, when we use the delete all sessions for a user, the database connections are still working with the deleted sessions. On mobile the sync stops, but the api call to check session on backed says the session is still valid. This is definitely a bug, our code used to work fine but now after updates to sync gateway it is essentially broken, we can’t logout users. Our clients have contractors who they give account to for a period of time, when the contract finishes they logout the users … at present workers who no longer work for the company still have access with the deleted session … critical bug from our perspective … the last thing we want to do is to start storing sessions manually in order to delete them.