How often does the user "expire"?
case a) the voucher was consumed in its entirety its time.
case b) the voucher only consumed some of its time.
in both cases, would the script work?
And because it could be, that now, when a user enters or disconnects a user, it does not erase the vouchers already occupied?
it seems to me that the problem comes, that I only try with one device, after a few minutes I try another voucher and the device works normally, but it does not erase the voucher already used.
What do you recommend that I check or change to make it work?
Ideally, when entering a new user with a new voucher, for example, delete the used vouchers
I add image of log mk, the voucher "33iak", it is deleted automatically after the user is disconnected from the network ..
I will not have a problem with some cokiee or something like that?
the rest of the tests I did did not work anymore the script
If you need any capture of my current configuration, ask me.
PD 2: I also did this test.
I upload the script to run it manually, and it does not delete the vouches already used.
we must bear in mind that being a place where the voucher system is going to be implemented, there are users who will occupy the entire voucher (total time) and there are some users who will occupy a few minutes and then they are removed from the place, in both cases, once the voucher is started, when the user is disconnected for any of the two reasons, either that the system cuts off access due to a time limit or because the user leaves the place; eliminate the voucher