Accessing statistics – Apple WebObjects 3.5 User Manual

Page 152

Advertising
background image

Chapter 9

Deployment and Performance Issues

152

Accessing Statistics

If your application has a WOStats page, you can look at the statistics that
WOStatisticsStore gathers. WOStats is a reusable component stored in the
WOExtensions framework (which WebObjects applications link to by default).
While your application is running, you can access the WOStats page with a URL
like the following:

http://localhost/cgi-bin/WebObjects/MyWebApp.woa/-/WOStats

Note:

You can access any component directly using a URL with this form.

Figure 38 shows a WOStats page.

Figure 38. WOStats Page

For more information about the statistics presented on the WOStats page, see
Serving WebObjects.

If you want access to statistics programmatically, send the WOStatisticsStore a

statistics

message. For example:

Advertising