I am a beginner in php.
In a site written with php, I need a message to be displayed to confirm or reject the customer’s order. I can do this with javascript, but the user can close it.
If the user does not assign a task to the customer’s order in his user panel within 5 minutes, he should not be able to work with the panel until the status of that order is determined. After that, he can work with the site panel and check and approve or reject the rest of the orders.
I have no idea how to block user access until the status of that particular order is determined.
I tried to use session but I don’t know if there is a better way to do this?
OPF is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.