lundi 8 avril 2019

Flushing all session variables while keeping user logged in - Laravel 5

How could I keep a user logged in when trying to destroy a cart session when they complete an order?

I am trying to flush a cart session whenever a user completes an order on my site, when the order is complete the user is redirected but the items in their cart are still there, is there anyway to delete them and keep the user logged in?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire