By clicking the browser’s refresh button, users often add unwanted records into your database. If you are using the Scripting Object Model (SOM) in Visual InterDev 6, you can thwart those reposts. This snippet shows how to set and test a Session variable in the onenter event of the PageObject: