Dear all,
How to detect the browser close event in ASP.Net (C#)
When direct close browser then how to track browser close event in asp.net.
Regards
Niranjan Poddar
Dear all,
How to detect the browser close event in ASP.Net (C#)
When direct close browser then how to track browser close event in asp.net.
Regards
Niranjan Poddar
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Feb 3, 2015, 7:15 AM EST
Khargesh RajputRank #616 · 3.9K reputationPosted Feb 3, 2015, 5:58 PM EST
that you are about to close the window.
like as
onbeforeunload="return myFunction()">
Close this window, press F5 or click on the link below to invoke the onbeforeunload event.
Close window
gokul shingoteRank #7,001 · 251 reputationPosted Aug 10, 2022, 8:38 AM EDT
It Not Working My Sccenrio
Vishal YelveRank #178 · 13.6K reputationPosted Aug 10, 2022, 11:41 AM EDT
OR