捕获 ASP 输出以进行监控
如何捕获 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一个快速但肮脏的解决方案是屏幕抓取网页,将数据加载到数组中,并对输出求和。
一旦您选择了想要进行开发的平台,请回到这里并在遇到问题时提出更具体的问题。
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.