Hi guys,
I have recently started programming in PHP.
I am building a cart in PHP. I have my products locked in cart when someone adds it to their cart.
I need to unlock those products when the specific user gets logoff or session expires.
How can i call something like session_onend function as in asp/asp.net to unlock/release those locked products?