Hi, > in your acccouting section: > > if (Acct-Status-Type == Stop && Session-Time != 0) { > sql_accounting_module_name > } we do a similar thing - except that we do this around a call to the 'detail' virtual-server system instead. doing live SQL inserts/updates of accounting is a bad idea when you get to large numbers of AAA hitting your server. alan