You can change the name of session cookie in config/session.php
Have you added Illuminate\Html\HtmlServiceProvider to config/app.php?
Well, use cookie value if it's set and fallback to Input::get('affiliate-id') if it's not. That way...
Why not just pass $affiliate_id you got from request to the view?
The cookie will only be available on the next request, when you receive the cookie you sent back wit...
The Laravel portal for problem solving, knowledge sharing and community building.