Hotspot client

Goodmorning everyone. Here’s my problem, in the hope that someone can help me.
I’ve created a hotspot and it works fine. The problem is related to the connection time management. I’ll tell you better: I would like a user, after logging in, to have some time after which the system disconnects and, to continue, he has to re-login in that the routerboard must re-launch the login.html page.
In user management, I tried to set the session timeout by entering, for example, 2 hours. At the end of the two hours the system throws out the user but, if the latter tries to reconnect, it restarts the time again as the routerboard directly proposes the page alogin.html. Instead, I would like him to retrieve the login.
How can I fix it?

Thank you all

#something to start with (general explanation)
to disconnect a user automatically from hotspot at a pre set time and let him/her reconnect without manual resting the uptime in user profile is tricky
deleting the user dhcp lease when he/she online that will cause hotspot logout in seconds
or binding the user on hotspot will cause disconnection and then remove the binding with second script run
a script can do that :
u can use (/ip hotspot host find) and (/ip hotspot host get value-name=uptime)
with a good algorithm you can run a user binding based on uptime value.
:if ($>$)do={}