Maybe I didn't explain good enough. First, I don't want to reload the form.
I want to stop the user from being able to nagivate back to an intact page.
Here's the scenario:
User navigates to page X. Page X loads, filling a datagrid with some link
buttons and checkboxes in each row. They check some boxes and click a link
button. This causes two things to happen. First, a subroutine of page X
executes and makes changes to a database based on the checkboxes the user
checked. Second, I do a response redirect to page Y.
What happens next is the problem. The user is able to hit back and go back
to page X where the original rows are still in the datagrid and the
checkboxes they checked are still checked (which, due to the aforementioned
database update, should not even appear in the grid if the page were loaded
new). They then click a button and post the same checked columns, which is
causing duplicate entries. I want to prevent them from getting back to that
page once they navigate away from it. I can't just code the database to
test for duplicate entries, because they are legally allowed by the business
rules. But these dupes are unintentional and a result of being able to
navigate back to a page and repost the same data after its been posted. I
just want to expire the page.
"Kevin Spencer" <com> wrote in message
> has [/ref]
> expire. [/ref]