resetstats - reset user statistics

SYNOPSIS

<resetstats $REMOTE_ADDR>


DESCRIPTION
The resetstats function resets the user access count - maintained by loguser - for the given user to 0. If the $REMOTE_ADDR argument is empty, all users are reset.


DIAGNOSTICS
resetstats returns nothing.


EXAMPLE

<!-- reset stats for localhost: -->
<IF $REMOTE_ADDR eq 127.0.0.1>
  <resetstats $REMOTE_ADDR>
</IF>


CAVEATS
The resetstats function was added Oct. 10 1996. In version 2.1.882170000 19971215 and later the first parameter is required to be an IP address.

License statistics cannot be reset.


SEE ALSO
loguser, userstats


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.