在Http模块中运行日志操作?

发布于 2024-07-25 01:52:29 字数 264 浏览 4 评论 0原文

我有一个简单的要求,我想在服务器上执行一个长时间运行的应用程序(例如 DTSX),我想为此制作一个 HTTP 模块,但我有一个问题,即使用户关闭页面,DTSX 是否也会运行浏览器。 在我的例子中,用户使用查询字符串点击处理程序,但如果用户立即关闭浏览器怎么办? 该行为与简单的线性页面处理有何不同?

我希望我的 DTSX 包一旦启动就完成,无论需要多少时间,并且也不想停止用户,这就是为什么我使用 http 模块代替线性 asp 页面处理。

请注意, 尼兰詹

I have a simple requirement in which I want to execute a long running application program on server (e.g. DTSX) I want to make an HTTP module for this, But I have a question whether the DTSX will run even if the user closes the page and browser.
In my case user hits the handler with a query string but what if the user closes the browser immediately? How is the behavior different from simple linear page processing?

I want my DTSX package to finish once its started no matter how much time it takes and also dont want to halt the user that is why I am using http modules in place of linear asp page processing.

Reagrds,
Niranjan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笛声青案梦长安 2024-08-01 01:52:29

将 DTSX 作为单独的服务运行,并通过后端调用将请求传递给它。 这样,一旦您的请求被发送到模块,调用页面做什么就无关紧要了。

Run your DTSX as a seperate service and pass requests to it via a backend call. That way once your request has been sent to the module it doesn't matter what the calling page does.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文