How to send Mendix KeepAlive heartbeat message using javascript(in HTML snippet) from the application ?

0
I would like to know if there is a way to keep mendix session alive using javascript. I am using an iFrame which is sending a post message. Using HTMLSnippet I am able to get this message from Iframe. I would like to trigger mendix heartbeat (not sure if I need to send /xas/). If yes, How to send xas/ using javascript/jquery ? Can anyone help to provide the fetch "xas/" url command using javascript to be sent to keep mendix session alive?
asked
2 answers
0

Hi Kashif,

What are you trying to do? Are you trying to prevent the user from being logged out? If so, you can increase the session time out in the custom settings. 

https://docs.mendix.com/refguide/custom-settings

answered
0

What about the MicroflowTimer widget?

answered