Two sql queries in counter module
Hello all Is it possible to make two queries in sql counter module? like sqlcounter noresetcounter { driver = "rlm_sqlcounter" counter-name = Max-All-Session-Time check-name = Max-All-Session sqlmod-inst = sql key = User-Name reset = never query1=SELECT activedate from radacct where username='%{%k}"' query = "SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='%{%k}' AND ActiveDate='$query1'" }
Bishal <bishal@baayu.com.np> wrote:
Is it possible to make two queries in sql counter module? like
No. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
Bishal