I'm using a series of three web pages. Page 1 collects user input to form a query. The query is passed to Page 2 to process and display results. If the user wants the results in Excel format, Page 2 passes the same query to Page 3 for processing and download.
When I first set up the pages, I knew nothing about sessions. As a result, the first time a user specified input on Page 1, the variables were never refreshed/reset/changed; even if all the web pages were refreshed and the user entered different data on Page 1, every subsequent query returned the same results as the first query.
Enter sessions. I start a session on Page 2 and register variables. Page 3 starts a session and uses the same variables. Page 1 unsets and destroys existing session variables so that new data can be passed to Page 2, where variables are again registered.
This process works fine with one exception. Every time the user returns to Page 1, the user must re-enter all the selection parameters. Is there a way to save the user's previous selection parameters while still resetting the session variables?
Thanks!
Timm