Small class for preventing that data is send more that one time by a user if he presses Reload on his browser by setting a token that is written to the session and also placed as a hidden filed in a form. If those two values aren't the same, you get a boolean false by the isValid() function.