Support the ongoing development of Laravel.io →
Input Session Eloquent

I am terrible at explaining so I will do my best in point form:

  • Each page queries a list of data
  • User has option to filter the query by certain parameters, column id's etc...
  • The filters the user enters must apply on that page for the remainder of the session
  • Current implementation had the filter query serialized and set in session and then retrieved and unserialized upon page load. Doesn't work now in 4.1+ because serializing pdo data isn't allowed
  • Relevant code http://laravel.io/bin/wmoVx

To me it seems like my implementation wasn't that great anyways. What's the best way to solve this?

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Robarelli robarelli Joined 14 Feb 2014

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.

© 2025 Laravel.io - All rights reserved.