My Close events appear to never be fired on WebPages and WebControls. The documentation states:
« This can happen when the user closes the browser window or tab containing your web app. You can use this event handler for any cleanup that you need to do when this happens. »
I see no mention of any browser specifics yet nothing is happening:
• Xojo 2019 r1.1 Mac
• Chrome Version 76.0.3809.132 (Official Build) (64-bit) Mac
Repeated Google searches pull up nothing so am I doing something wrong?
Our web app allows users limited annotation of PDF files. We prevent multiple users from accessing the file at the same time. If the user inadvertently closes the browser window or tab, the file is not returned to the file server until the session times out. However we would like to give access to the file sooner if needed.
I was surprised to discover that the session continues to run with the web page and all objects; I had half expected it would just have gone "nil". So I cannot determine if a file is truly still in edit in this situation.
Or are there better ways for me to be handling this type of situation?