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

Do you need to save them specifically in query string? Why not save them in session?

0

Unfortunately I do need to keep them in the query string.

I'm starting to lean towards this needs to be done with JS some how instead of letting Laravel handle it.

0

You could probably do that with with global middleware: get content from response, append query params to links with a regex, and put content back into response.

But I think doing it with jquery will be easier.

0

Yeah I've just done a .each on all links that need it. Cheers.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

BCleverly bcleverly Joined 13 Feb 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.