Sync Gateway session expiry

Hi,

Is it possible to extend the life of the session id returned by sync gateway? Currently the session id expires after 24 hours. Looks like the session id expiry is automatically extended based on some condition. I could not find any info on how this automatic extension of expiry works.

Please share any info…

Thanks.

yes, you can delete a session by call rest api
FYI

https://developer.couchbase.com/documentation/mobile/current/references/sync-gateway/rest-api/index.html#/session/delete__db___session