Hi Tharak!
you can use this module https://marketplace.mendix.com/link/component/113622 another way you can write own javascript and trigger using nanoflow.
Mendix supports session timeouts through its runtime options: