mercredi 27 janvier 2021

Laravel one time session

I have one page where users going to take exam. I want to restrict users taking exam second time. Is there any way doing that with session.

I think that I can create one session for every users when they enter to exam page and check afterward(when they enter again). But for this i need to keep this session forever(or some time at least) so it is not good idea i think.

Before i did with database. I saved information when they entered to exam and checked. I am curios that is there any other solutions? or better solutions?

Thanks in advance




Aucun commentaire:

Enregistrer un commentaire