What is the purpose of this? It's difficult to figure out what you are trying to actually accomplish.
Is session storage what you really need? If you can explain what you need this for, it might make a little more sense and we can figure something out.
I need to remember all Request::header('referer') for return links. the return link is gonna show the latest Request::header('referer') which are in the Session::get('smartBacklinks')
If you click the return link it should remove the "last item in the Session::get('smartBacklinks')'s array" and it should not be allowed to run the push method: Session::push('smartBacklinks', Request::header('referer'));
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community