![]() |
|
OnAsyncPageUnloaded not working on mobile - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: OnAsyncPageUnloaded not working on mobile (/thread-2977.html) |
OnAsyncPageUnloaded not working on mobile - baxing - 12-26-2022 Hello, I tried to use IWForm's OnAsyncPageUnloaded event for triggers when the page is unloaded on browser side (due to browser/tab closing) to close session with command. Code: if AIsCurrent and (WebApplication.ActiveFormCount = 1) thenIt's ok on desktop browser (Chrome, Edge) but I tested on my mobile browser (Chrome, Safari) but It's not working. How do I get it to work on mobile? Note : This link for unload event, at Usage note paragraph say that : Quote:Especially on mobile, the unload event is not reliably fired. Thank you RE: OnAsyncPageUnloaded not working on mobile - Alexandre Machado - 02-15-2023 Unfortunately it is not guaranteed to work on mobile browsers if the browser is just sent to the back ground. Maybe you can describe better how's your test scenario, which browser you are using and what are your requirements. |