we've a form on several pages
two variables
locatie (location in English)
cursus (course in English)
we've the following session script
<?PHP
session_cache_limiter('nocache');
session_cache_expire ('1');
session_start();
if (isset($POST['cursus'])) {
$cursus = $POST['cursus'];
session_register('cursus');
}
if (isset($POST['locatie'])) {
$locatie = $POST['locatie'];
session_register('locatie');
}
?>
At the rest of that page we've a normal php script with a sql query that returns a list of the courses that match the keyword for the chosen location
Nothing fancy, isn't it?
Now, when we go to www.syntra-ab.be/trainingenopleiding.html and use the search box, we get the results we want.
If we go back to that page and use a new search string, we also get the results we want.
BUT, when we go from teno_result.php to teno_indekijker.html for instance and we use the search box on teno_indekijker.html for some reason we always get the search result that we've done during the first search on the main page
Do you understand what I mean?
I'm desperately looking for an answer to solve this problem and any help will be greatly appreciated.