Calculating Users Sessions.

Peter Marelas (maral@sprint.com.au)
Sun, 9 Jun 1996 21:05:59 +1000 (EST)

Ive been thinking of how to calculate users total times when logging into
the PM.

Ive seen some people are using the session ID to match start and end
records..

Since the session ID is not always unique, for instance if the PM is reboot,
I thought this was not the way to go.

Instead I am calculating user totals by just using the radius records
when the status is "stop"..

Then im using the session total seconds to find the start time of the users
session from the epoch.

Can anyone see any possible problems with this method.

Peter Marelas