Just a side note: to handle Alive packets separately, just add a Handler.

<Handler Acct-Status-Type = Alive>
    ....
</Handler>

Regards,

Neil D. Quiogue
CPCNet Hong Kong Limited
A CITIC Pacific Company
Voice (852) 2170.7140
Fax   (852) 2751.7030

"Information and attachments herein are intended for the named recipients
only.  It may contain attorney-client privileged or confidential matter.
If you have received this message in error, please notify the sender
immediately, and destroy the original message.  Do not disclose the
contents to anyone.  Thank you."

----- Original Message -----
From: "Andy De Petter" <[EMAIL PROTECTED]>
To: "Alex Symthe" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 5:25 PM
Subject: Re: (RADIATOR) calculating alive record


>
> I would suggest using a REPLACE INTO.. that would update everything
> accordingly.  You just need to make sure your unique key(s) are well
> configured.
>
> -Andy
>
> Alex Symthe wrote:
> >
> > hi All,
> >
> > We are using Radiator 3 and need to do some processing on the accounting
> > records in RADONLINE. When ever we recieve an Alive Record when need to
> > update the TIMESTAMP field in RAODNLINE for the corresponding username.
> > Im not sure how to write this but here's what it should do...
> >
> > -> Incoming Alive Record
> > ++ UPDATE RADONLINE SET TIMESTAMP = %t WHERE username = %u
> >
> > Does anyone have any similar code to do the above mentioned or some
> > ideas on how to do it?
> >
> > THanks
> >
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
> > ===
> > Archive at http://www.open.com.au/archives/radiator/
> > Announcements on [EMAIL PROTECTED]
> > To unsubscribe, email '[EMAIL PROTECTED]' with
> > 'unsubscribe radiator' in the body of the message.
>
> --
> Andy De Petter - http://www.techos.be/andy - [EMAIL PROTECTED] (ROT13)
> Senior System Engineer - Skynet  IT & Network - http://www.skynet.be
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to