捕获 ASP 输出以进行监控

发布于 2024-08-18 18:04:40 字数 881 浏览 2 评论 0原文

如何捕获 ASP.NET 输出并将其存储为临时内存,以便我可以在应用程序中使用它们进行比较。

例子。

这个网站有 ASP 输出。抱歉,我没有服务器访问权限,我能做的就是查看输出。

顺便说一句,该网站是所有登录用户以及各个频道的监视器。

输出 例如,


Channel 1

Username              logged in (0 / 1)
Username 1                    1
John Smith                    1
George B                      0

Channel 2

Username              logged in (0 / 1)
Username 1                    1
John Smith                    0
George B                      0

我想做的是捕获此输出,然后以这种方式显示它们。

Username                    Channel 1             Channel 2            Total
Username 1                      1                     1                  2
John Smith                      1                     0                  1
George B                        0                     0                  0

我不知道从哪里开始。

How do I Capture ASP.NET output and then store it as temp memory so that I can use them in an application to do comparison.

example.

there's this site which has ASP output. Sorry I do not have server access, what I can do is view the output.

The site by the way is a monitor for all users logged in and in which ever channel.

output e.g.


Channel 1

Username              logged in (0 / 1)
Username 1                    1
John Smith                    1
George B                      0

Channel 2

Username              logged in (0 / 1)
Username 1                    1
John Smith                    0
George B                      0

what I wanted to do is to capture this output and then show them this way.

Username                    Channel 1             Channel 2            Total
Username 1                      1                     1                  2
John Smith                      1                     0                  1
George B                        0                     0                  0

I dont knw where to start.

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

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

发布评论

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

评论(1

难以启齿的温柔 2024-08-25 18:04:40

一个快速但肮脏的解决方案是屏幕抓取网页,将数据加载到数组中,并对输出求和。

一旦您选择了想要进行开发的平台,请回到这里并在遇到问题时提出更具体的问题。

A quick and dirty solution would be to screen-scrape the web page, load the data into an array, and sum on output.

Once you have chosen the platform you want to develop on, come back here and ask more specific questions as you run into issues.

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