English 中文(简体)
Capture ASP output for monitoring
原标题:

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.

问题回答

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.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签