Session management for users without log in


I am creating eCommerce native app using Ionic+ firebase.
I have managed shopping cart for users who have logged in.
Please tell me best and convenient way to manage session for users who have not logged in, or are using guest account.