Peter Marelas
On Tue, 25 Jun 1996, Mike Ossmann wrote:
>
> On Tue, 25 Jun 1996, Peter Marelas wrote:
>
> > Regarding accounting..
> >
> > The way I do this is to store a USER SESSION RECORD in an msql database once the user logs OFF. The RECORD relies on the current time and Acct-Session-Time.
> > It works out the start time from the epoch like so:
> >
> > epoch(start time) = epoch(current time) - Acct-Session-Time
>
> Don't forget to subtract Acct-Delay-Time.
>
> Mike
> ________________________________________________________________
> Mike Ossmann NetPlus+, a service of Page Plus+
> mike@pageplus.com http://www.pageplus.com
> fax: 970-493-8717 voice: 970-484-1933 or: 1-800-279-1933
> ________________________________________________________________
>
>