You can use Session-Timeout attribute in your radreply sql table like:<br><br>+-----+-----------+-----------------+----+---------+-------+<br>| id | UserName | Attribute | op | Value | <br>+-----+-----------+-----------------+----+---------+-------+<br>
| | 257 | test | Session-Timeout | := | 1800 | <br>+-----+-----------+-----------------+----+---------+-------+<br><br><br>Regards<br>Bishal<br><br><div class="gmail_quote">On Thu, Jan 27, 2011 at 1:34 PM, piston <span dir="ltr"><<a href="mailto:pistonic@yahoo.com">pistonic@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="color: rgb(0, 0, 0); font-size: 12pt;">Hi<br><br>Is that possible to reset the sql counter every 30 minute?<br>
<br>Basically, i need to get user free access of 20 minutes, after 20 minutes NAS will logout the user.<br><br>And the user is allow to login again after 30 minute.<br><br>Thanks</div><br>
</div><br>-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>