Hotspot trial button randomly miss

I have very strange problem , my hotspot trial button randomly gone , and my users are unable to login so i have to reboot my Routerboard. This happen sometimes everyday , sometimes once a week or month. What should i do? Thank you in advance!

If the trial button is made available via JavaScript, consider to instead make it available without JavaScript.

If it’s not in JavaScript already… I’m not sure. Could be a CSS timing/miscalculation issue. Simplifying the styles you have around the button might help.

I will check later, is it posible to do trial login without clicking on a button . I mean if a user connect to AP to have internet for two hours after that to be automatically disconnect from wireless network and if they are connect again to have another 2 hours. I hope understand me:)

Yes. You can use JavaScript to “press” the button on the page (more accurately - to submit the form the button is associated with), but you need to do this almost unconditionally (i.e. do it always, except on “error” from the router, the error usually being that the trial is over).

Users that already have credentials will also get the trial, and see that their “trial” has run out.