I am trying to work out with PHP session and what I want to do is to expire my orders saved in the database after a 30 minutes of inactivity on the order made without payment been completed.
My Questions
- How do I create session to specifically handle the orders in my database?
- How to destroy session {id} generated specifically for orders when 30mins of inactivity is due?
Just need ideas on how to complete that.