Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: (z) Re^3: How to do session times The Right Wayby strider corinth (Friar) |
on Oct 31, 2002 at 21:48 UTC ( [id://209542]=note: print w/replies, xml ) | Need Help?? |
A-ha. I see. I thought you were describing a whole new structure; I didn't realize that the old log data was still to be used. Ok, then. That's a great solution. =) Thanks. The system I derived from the solution you didn't (as it turns out =) provide looks like this at the end of the hour, for users a, b, and c: This way, none of the original data needs to be kept. To find out who was logged in at 2:15, you check the Previous and Logons fields against the Logouts field, and anything falling in between matches. It was something like that (minus a couple of nuances) that I thought you meant. -- Love justice; desire mercy.
In Section
Seekers of Perl Wisdom
|
|