Well you couldn't. You would need a way to identify the user. I need to know the full description of what you are trying to do before I can advise you on how to accomplish it.
You could use a SessionID instead of UserID in the Cart table to keep identification of the guest cart items.