Dynamics 365 Business Central: How to restart session (refresh the browser) via AL

Today I would like to talk about how to restart session (refresh the browser) via AL.
I was asked this question recently. There are some controls on their page that need to be refreshed before they can be updated. However, having the user manually refresh the page is not a good way, so they want it to refresh automatically. Is there an easy way?

Source : Dynamics 365 Lab
Read more…