Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
I did something similar with a PageToken class, but I put it in the Master Page so that I could implement it on any page that uses the Master Page. In our code we wrapped the session variables in their own class called Session variables.We needed a little more functionality for complex pages...
Simple Web User Control prevents unexpected action caused by Refresh Button