Display Search Words on Results Page using Session Variable
I have a search page and a results page created using DataAssist Search Wizard. I would like to add to the top of the results page the following:
There are "145" Results for "keyword here"
The number of results is not a problem, but I cannot get the keywords to display properly.
I have set a session variable when the search form is submitted and named it "searchFieldValueMobi", then I try to display that session variable on the results page.
It seems to show the previously searched term instead of the currently searched term.
What am I doing wrong? Is this the best approach to handle this (session variable)? I chose session variable since pagination on the results page made it had to pass url variables from page to page. (using tom-mucks pagination extension)
Attached is my search/results page code.
Not sure if this is best posted in the "Cookies Toolkit Forum" or the "DataAssist Forum"