Hi,
im doing a shopping cart and everything works well until i realise something. currently im using session to track user's cart items into the database. user can add items to cart without login. however, before checkout, users will need to login to do so. when user login, the session_id() will be re-generated. this means that it will be different from the session_id used to store those cart items b4 login. how am i gonna track user cart items then??