lundi 26 décembre 2016

Laravel - session persistence on new user registration

I am having difficulty using sessions. In my projects both guests and users are able to search the site for tickets. If they are logged in users they are then taken straight through to a checkout with the ticket information transferred over the session. For guest users however I redirect to a login/register page. I would like to persist the ticket information they have selected in the session so that once they have logged in or registered they can then be redirected to checkout.

I believe my problem is with redirecting the user after login/registration however any advice on this topic in general would be gladly received. Thanks in advance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire