Refreshing Own Page

Hi,

When we have made a new version of our app available, In case users still have our login page open in their browser, I have built in a mechanism to check if the version has since been updated and ask them to refresh the screen. Is it possible to just do a refresh ourselves?

Thanks,

Ken

Try:

begin
  document.location.reload(true);
end;

Thanks

As this completely re-initialises the app. Is there any way that I can know in the forms oncreate method that this has been done and display a message accordingly.?

You could put something in local storage, this is something that 'survives' a restart

Thanks Bruno. I think I'll take the easy way out of displaying a message before refreshing!