[This is preliminary documentation and subject to change]

Status Component

The Status component creates a Status object that has properties that contain server status information.

File Names
Status.dllThe Status component.

Syntax

SetStatus= Server.CreateObject( "MSWC.Status" )

 

Parameters
Status
Specifies the name of the Status object created by the call to Server.CreateObject.

note Note    For all Windows platforms, the properties of the Status object currently all return the string "unavailable."

The only time you may need to include a Status object is when you are running ASP scripts that were developed on Macintosh and use Status properties.

The following table describes the Status properties as they are implemented on Macintosh. You can access these using:

Val = Status.Property

Properties
VisitorsSinceStartThe number of unique visitors (IP addresses or domain names) since the server started up.
RequestsSinceStartThe number of requests since the server started up.
ActiveHTTPSessionsThe current number of HTTP connections.
HighHTTPSessionsThe highest number of concurrent HTTP connections since the server started up.
ServerVersionThe Personal Web Server version string.
StartTimeThe time the server started up.
StartDateThe date the server started up.
FreeMemThe amount of unused memory available to the server.
FreeLowMemThe lowest value for the amount of unused memory available to the server since it started up.
VisitorsTodayNumber of unique visitors (IP addresses or domain names) since midnight.
RequestsTodayThe number of requests since midnight.
BusyConnectionsThe total number of requests that were rejected because the server was already handling the maximum number of connections it can handle.
RefusedConnectionsThe total number of requests that were refused because the authentication was invalid.
TimedoutConnectionsThe total number of connections that were closed without a request having been received.
KtransferredThe total number of kilobytes sent by the server since the server started up.
TotalRequestsThe total number of requests received since the status counters were reset using the admin tool.
CurrentThreadsThe sum of the number active http connections and the number of threads in the connection thread pool that are not currently handling connections.
AvailableThreadsThe number of threads in the connection thread pool that are not currently handling connections.
RecentVisitorsAn HTML table listing the 32 most recent unique visitors. This table includes each visitor's domain name (or IP address if the domain name is not available) and the number of requests generated by each visitor.
PopularPagesAn HTML table listing the 32 most recently visited pages. This table includes each page's URL and the number of requests for each page.


© 1997-2001 Microsoft Corporation. All rights reserved.