DEV Community

loading...

Discussion on: Let's build a super simple referral system with Laravel

Collapse
jcarlosr profile image
Juan Ramos

Nice suggestion Clement. Although I think the session won't last much and it can be replaced if the user visits a page with a new ref parameter.
I need to keep the referrer value for at least 7 days and set the value only if it's not already there. For this particular case I think I will be using Cookies.