When the back button in the browser is clicked, does it re-send the URLs?
If it does, you have to validate the variables and clear the session if the variable is empty, which it should be when the user clicks back enough times til it hits the welcome page.
If the browser simply loads the pages from cache without re-sending the URLs then it's beyond your control, and you'll have to re-design your system.
Instead of using frames you could simply set up a table and include different pages in the different cells.
That would of course make your left menu non stationary, but other than that, it shouldn't have any impact on the page.
Hope this helps,
Azala