<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>25 Mar 2016 20:28:00 Z</lastBuildDate><pubDate>24 Mar 2016 01:44:00 Z</pubDate><description>Hello All:&#13;
I'm using WebDev 20, and I need to do a small processing before the user closes or leaves the current page. I tried putting that process in the Closing of PAGE_Test event, but it seems this is not always triggered... I think if user clicks on a button that opens another page, then this event doesn't happen (I'm not sure if this is exactly the case, but for sure this event not always happens...).&#13;
&#13;
Is there any other way to accomplish this task?&#13;
&#13;
Thanks in advance for your help.&#13;
&#13;
Regards;&#13;
Michael R.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page/read.awp</link><title>[WB20] How to trap when a user closes or leaves a page</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page-57038/read.awp</comments><pubDate>25 Mar 2016 20:28:00 Z</pubDate><description>Hello Danny:&#13;
&#13;
Thanks for the help. I will give it a try and see how it goes.&#13;
&#13;
Many thanks again.&#13;
Regards;&#13;
Michael</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page-57038/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page-57038/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page/read.awp">[WB20] How to trap when a user closes or leaves a page</source><title>Re: [WB20] How to trap when a user closes or leaves a page</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page-57012/read.awp</comments><pubDate>24 Mar 2016 09:37:00 Z</pubDate><description>Hi Michael,&#13;
&#13;
You have to implement the onbeforeunload event.&#13;
&#13;
In your PAGE or PAGE Template you have to link the event&#13;
&#13;
LO…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page-57012/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page-57012/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57005-wb20-how-trap-when-user-closes-leaves-page/read.awp">[WB20] How to trap when a user closes or leaves a page</source><title>Re: [WB20] How to trap when a user closes or leaves a page</title></item></channel></rss>
