In several PHP applications I'm making I need to maintain a very long query string for filters for a table. I only want to change one or more GET variables per filter change, while the rest of the query string stays unchanged.
I have a few ideas on how to do this, including using javascript to build the query string every time a filter is changed, or maintaining the query string in a session variable, changing it from there.
I would like your opinions or experience on how the best way to do this would be.
Thanks!