On Fri, 11 May 2007 20:17:02 +0800, Joe Shen said:
Someone says , ISP should force those session closed at 00:00 on first day of each month, because they must ensure dial-up session of last month sould not be accouted in next month. Is this true ?
Or they could apply a little more kloo, and at 23:59 poll all the active sessions, and bill them "this" month for the time-since connected. In your example, they got on at 21:00, so you bill them this month for 3 hours. Then when their session ends at 05:00, you notice that the session time is more than the time so far this month, and just bill them for 5 hours. Or you can simplify your accounting infrastructure a *lot* by just sending them a bill for $21.95 no matter how much time they spent connected - that's what a lot of DSL providers do, at least in the US.