Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows Media Server / June 2007

Tip: Looking for answers? Try searching our database.

Calculating Time Client Connected to the Server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
djackson@keyone.co.uk - 05 Jun 2007 18:56 GMT
Hi,

My understanding of the log files generated by windows media server is
that:

The [cs-duration] fields tells me how long the client was connected
for, and the [date] and [time] fields tell me when the log entry was
generated.

Log entries are generated when the client disconnects. So if the [cs-
duration] field contains 120 and the [time] field sats 20:05, I can
deduce that the client connected at 20:03

Am I right? The reason I am asking is that based on these calculations
a client of mine had listeners at 4:30pm - but he swears he didn't
start broadcasting until after 7pm

The log file shows a [cs-duration] of 9305 and a [time] of 19:06:26.

Any advice as to where I may be going wrong would be appricated as I
don't want to call my client a liar!

Duane
Mike Lowery - 05 Jun 2007 20:36 GMT
> Hi,
>
[quoted text clipped - 17 lines]
> Any advice as to where I may be going wrong would be appricated as I
> don't want to call my client a liar!

I believe your assumptions are correct, but I wouldn't bet my life on the
accuracy of data in WMS log files.  Also remember that by default the time is in
UTC, not local time.
djackson@keyone.co.uk - 07 Jun 2007 00:04 GMT
> I believe your assumptions are correct, but I wouldn't bet my life on the
> accuracy of data in WMS log files.  Also remember that by default the time is in
> UTC, not local time.

Thanks Mike. I thought I had it right.

And yes, I've been caught out by the UTC thing in the past
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.