EShop uses session_destroy() to clear the shopping cart after a purchase. If any other plugin is using sessions, this is a problem. Instead, eShop should clear just its own session fields. The field names could be prefaced or put in a subarray.
- The topic ‘session_destroy() not such a good idea’ is closed to new replies.