在将页面返回到浏览器后,我在哪里放置触发的代码

时间:2022-06-13 18:06:43

I want to send an Email message after a page is returned to the browser. Where do I place this send Email code so that it does not delay the page that is returned to the browser?

我想在页面返回浏览器后发送电子邮件。我在哪里放置此发送电子邮件代码,以便它不会延迟返回到浏览器的页面?

1 个解决方案

#1


2  

ASP.NET pages have an unload event that fires after the content is returned to the browser. Should be exactly what you're looking for.

ASP.NET页面有一个卸载事件,在内容返回到浏览器后触发。应该是你正在寻找的。

#1


2  

ASP.NET pages have an unload event that fires after the content is returned to the browser. Should be exactly what you're looking for.

ASP.NET页面有一个卸载事件,在内容返回到浏览器后触发。应该是你正在寻找的。