I have a project where I want visitors to a site to pick the Tariff that is appropriate to them and then I will display relevant content to them while hiding the drop down to change between tariffs. I would like this selection to stay over multiple pages but then reset when they close the browser and start again.
So far I have managed to show multiple hidden divs based on a selection and then hide the selection box itself. I may have managed to save the selection as a session, however I am struggling to work out how to recall that saved information on a page refresh. I also assume that once I can recall it for a page refresh I can then apply the same code to different pages in my site which have the same drop down (as you never know where people will start their browsing) and it will remember the selection.
In my example I am expecting to need to save a selection i.e. 3 that has the value t3 and then recall this saved value if it exists on page refresh to retain the selection of 3 and keep those divs displayed etc...
I hope that all makes sense and thanks in advance for your help