Click here to Skip to main content
14,880,500 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys... I'm trying to design a page that has a pagination and a table to display the result. and on the header of the table i have a textfield where user can input a filter value and the result will be filtered base on the value you inputted on the textfield. Now i saw this one website where they have this kind of function and i noticed that after typing the value in the filter field and clicking the submit button it will automatically filter the result and display on the table.
Well i know how to do that but the thing is when i try to refresh their page the result still remain it means the filtering was retained... i was expecting it will go back to the default display result.. but how is it possible that they were able to retain the search result even after refreshing the page?
- I was thinking it was save on a session. but it was not since i created a script that will destroy all session on the browser...
- the second guess would be their using $_GET['method'] but the url does not change even your doing filtering
- and its not a POST method since the Post method will only work on submit but not on refresh page...
- its not on the cookie since i clear all my browser cookie

any idea how do they accomplish this kind of trick?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900