Logout in HTML web client

Logout in HTML web client

Hello,

I'm creating application used only by web clients. One of the function require login user with higher privileges to execute. The question is how to logout this user in web browser.

Automatic logout option available in user group doesn't work.

Function 'Logout" in HTML works like this:
      1. Logging a user out of a zenon Web Client session and disconnecting from zenon Runtime
      2. The zenon Web Client session is continued in offline mode
So after pressing such Logout button I have to refresh browser page to work on GUI again. It doesn't make sense for me since refreshing browser page logout user anyway, without any additional Zenon function.

I tried to make logout button which just login user with lower privileges, but HTML Web Engine doesn't accept 'Login without password' function.

Maybe button which simply refresh web page could be a solution but I don't know how to do it in Zenon. I have no more ideas. Could someone help me?