LogicMachine Forum
localbus javascript session expiration - Printable Version

+- LogicMachine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: localbus javascript session expiration (/showthread.php?tid=6531)



localbus javascript session expiration - antlomb - 16.08.2026

Hello,

I tried to find an answer but didn't find it. I'm writing some web pages to put in the user folder. The pages uses the localbus library with a newly created "dashboard" user. I succeeded in connecting the web pages to the localbus acalling the login page and authenticating with the new user. I correctly get notifications of events. I would like to understand how keep the session valid without expiration. I see there is a cookie expiration in N days, is it possible to disable the expiration of the cookies so that the session from the tablet I'm using to the server will be kept open forever ? Or is there a login api call which the page can periodically call to refresh the session ? I would not like to show the user the default login page when session expires. Thanks for the help you could give to solve this issue

Best regards

Antonio


RE: localbus javascript session expiration - Daniel - 17.08.2026

You can extend the expiration time in user access settings but you cannot disable it.