10-12-2009, 09:13 AM
[eluser]mindprojects[/eluser]
PROBLEM TO SOLVE:
i gave away many gift cards,with a pin and a code.I have a system where users log in with this pin and this code.To avoid problems i would like :
1) to Log out a user previously logged if another one logs in with the same code and pin that hasn't been marked as "USED" yet
2)if the user session expires i should remove the gift card associated to a user
So i need to know if among active users there is someone using that gift card.
Any solution ??
Thanks in advance.
Marco
PROBLEM TO SOLVE:
i gave away many gift cards,with a pin and a code.I have a system where users log in with this pin and this code.To avoid problems i would like :
1) to Log out a user previously logged if another one logs in with the same code and pin that hasn't been marked as "USED" yet
2)if the user session expires i should remove the gift card associated to a user
So i need to know if among active users there is someone using that gift card.
Any solution ??
Thanks in advance.
Marco