Support the ongoing development of Laravel.io →
Requests Session
Last updated 2 years ago.
0
Solution

i have placed it now in top of the routes.php, but looks not to be the right place:

// save referer on first request for saving on user registration
if ( !Session::has('COME_FROM')) {
	Session::put('COME_FROM', Request::server('HTTP_REFERER'));
}
Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Xen xen Joined 1 Oct 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.