I have create a session to hold the input variable for a php "pagination" script.
So that the results will be according to the input. One page will hold 8 results, if more than 8 results, there will be page 2, page 3 and so on.....
what I want to do is to destroy the session after the result page is "refresh" or "reload".
While the session was create on the "pagination" script, if i say "session_destroy()" at the end of the script, then if i go page 2, the results would not responds to the input (bcos the session has been destroy and the variable is not held anymore)
How can I destroy the session but still holding the input value???