Displaying Max-Daily-Session
-
i was using the Max-Daily-Session on my CP with FreeRadius2 and MySQL and made an a username and password on table radcheck
with a Max-Daily-Session of 2hours per day of 7200 seconds per day, i was wondering if i could display the remaining time left on the logout page?sorry for my bad english. thanks in advance i hope someone can help me here
-
i was using the Max-Daily-Session on my CP with FreeRadius2 and MySQL and made an a username and password on table radcheck
with a Max-Daily-Session of 2hours per day of 7200 seconds per day, i was wondering if i could display the remaining time left on the logout page?Hi,
two options:
-
Native PHP with the Info of pfSense (Search the Forum, but you need to patch pfSense to get this info for non voucher users)
-
Use PHP and Query your Database. You will need to use the radacct Table and do some math ;-)
Have fun.
-