ERPNext logout when browser is closed

Hi
I am exploring the option to have a user logged out when the browser is closed.

I don’t have much experience with this but from what I have been reading, apparently there are “session cookies” and “persistent cookies”. And it sounds like ERPNext is using “persistent cookies”.

Can I modify this bahaviour by entering the following in the common_site_config.json

{
    "session_cookie_lifetime": 0
}

Any assistance / guidance will be appreciated