How this demo remembers your cart and account session.
WordPress and WooCommerce use browser cookies to keep you signed in and remember your cart and session. You can clear cookies using your browser settings. Clearing them can empty your shopping bag or sign you out.