PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Anomaly in the event "Closing of Page .."
Anomaly in the event "Closing of Page .."
Débuté par Mimmo Ghiara, 06 mar. 2020 16:38 - 2 réponses
Posté le 06 mars 2020 - 16:38
Hello to all
it happens to me that I have to intercept the closing button of the page, I was thinking of using the "Closing of Page" event but I realize that this event also occurs at the opening of the page.
I find it strange that it happens, but if so, what can I do to remedy the problem?
I absolutely have to understand when the user leaves the site.
Thank you
Mimmo
Posté le 06 mars 2020 - 18:42
"...I absolutely have to understand when the user leaves the site...."

Good luck with that...

- The users closes the browser
- The users turns his router off
- The users looses his 4G connection
-...

There are MANY ways that the user can take (voluntarily or not) where you will get NO EVENT/INFORMATION whatsoever.

I suggest that you revisit the premise stated above instead of trying to make it function once in a while, which is all you can achieve here.
Posté le 08 mars 2020 - 15:32
Thanks for the answer, I understand your suggestion, but somewhere I have to start, but if the "closing of page" is not already right, let's start well.
Tips?

Mimmo