Detect page refresh

Hi all,

Is there a way to detect when a page refresh of the browser happens (F5 or browser refresh button)?

I need to run some code in servoy if this happens.

No one knows? :)

Not that I know.
Maybe the onShow method of the displayed form is triggered again but I won’t base any logic on that.
Why do you need that?

onshow will not be called,
for just a refresh nothing will be called in servoy code.
The components on the page will be just “repainted” nothing more.