Hi Alan, Thank you for your reply. Problem is the last if statement is not working, it's not rejecting. if(%{control:Tmp-String-4} >= 1){ if(%{control:Tmp-String-2} >= %{control:Tmp-String-3}){ update reply { Reply-Message := 'Reached Session Limit' } reject } } In debug mode, I can see the value of %{control:Tmp-String-4} is 1. Can please tell me why its if statement is not working. Thank you On Fri, May 10, 2019, 3:08 AM Alan DeKok <aland@deployingradius.com> wrote:
On May 9, 2019, at 4:48 PM, One Zero Art <onezeroartapps@gmail.com> wrote:
All SQL query working fine and showing exact value. The only problem is that update control showing noop.
Yes, that's the way it works. There are many reasons why, unfortunately.
Why does this matter? The configuration you posted will work.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html