Re: Calculating Users Sessions.

Victor Muslin (vmuslin@prodigy.com)
Mon, 10 Jun 1996 10:34:25 -0400 (EDT)

Actually, with portmasters, session ids are unique across reboots, since
the first byte is the reboot count. However, if you have multiple portmasters
then session id's uniqueness is insufficient.

On Sun, 9 Jun 1996, Peter Marelas wrote:

> 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
>

\\\|///
\\ - - //
( @ @ )
+------------------------------oOOo-(_)-oOOo--------------------+
| Victor Muslin | |
| Prodigy Services Company | Voice: (914) 448-4737 |
| 445 Hamilton Avenue, H11A | Fax: (914) 448-8462 |
| White Plains, NY 10601 | Internet: vmuslin@prodigy.com |
+-----------------------------+--------Oooo---------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)