Khaldon manIP wrote:
Actually, I need a more "dynamic" solution. I will have an agreement with a hotspot agregator (like Boingo...) and I will have about 60 millions NAS.
Since there are only 800M people or so on the Internet, I very much doubt that there are 60M NASes *total* in the entire world. Your aggregrator will likely only have 60K NASes. Maybe.
So, for each user, I have to calculate the remaining session-timeout according to the NAS in which the user wishes to connect to. When the user logs in, I have to run a script which set the session-timeout attribute ( e.g how long the user is allowed to be connected to that specific NAS). When the user logs out, I have to run a script which updates the remaining connection time.
You can put all of this information into SQL, and implement all of this logic in SQL statements. Alan DeKok.