Yes, if your using SQL set the SessionTimeout to the amount of time they
bought, and restrict the login limit to one. After that is done you can use
a stored procedure to hook to decrement the SessionTimeout each time the
user disconnects and you get the Account-Session-Stop packet.

This would be easy to accomplish using MS SQL Server or Sybase ASE

-----Original Message-----
From: Wyness Casama [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 1:12 PM
To: [EMAIL PROTECTED]
Subject: (RADIATOR) Setting time blocks and account expirations


Hi all,

I've been working on a particular project for a couple of days now, but I
haven't found the missing key that lets everything fit together...

I am trying to accomplish a setup where users will buy a block of time (for
instance 2 days (48 hours))...  What I want to happen is that the user will
be able to authenticate as many times as they want to the NAS/RADIUS system
within that 48 hour period, but as soon as the specified 48 hours is over,
the server will disconnect the user AND stop the user from authenticating
again with the expired account.

Any ideas?

        -- Wyness Casama


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to