You could have some code at the beginning which unsets the session variable. This would mean the session variable is only set once that form has been submitted (and if they go back to it, they'll have to do it again).
Or the other way is before you set the variable on the 'action' page, unset it first!

