Perspective Page Refresh

Hi all,

Is there a way to detect a manual page refresh (F5) in perspective? I've tried the onStartup() system event but from what I can tell this is only trigged when the project is started or an update has been sent, etc.

I did reference this past forum post: Perspective script/action on page refresh or view save - #2 by mcarritt1 in which a user appears to get what they need working with the onStartup() system event on their components but this doesn't seem to work for me either (I have tested onStartup() on both my view and my components using system.perspective.print()).

Any work arounds or anything I am missing here? This issue is causing me a real headache! Any help is appreciated, thanks for reading!

MG3

No. The gateway cannot distinguish deliberate page reload from accidental reload due to communication hiccups. Neither HTTP nor websocket technology can do this. IA has deliberately chosen to "ride through" possible disconnect/reconnect events.

1 Like