J
John
Hi,
I have a web form accounting app. In certain instances it
causes trouble if the user clicks the Back button. I've
read several posts that indicate that it is not
recommended (or even possible) to try to disable the Back
button. So, what I did was save a session variable with
the name of the current webform and then check this
session variable on page load to make sure the user was
not coming from a page that was not acceptable.
This works when I navigate to the page by typing in a URL
but is seems like when I click the Back button to go to a
page I should not go back to, the code behind is not
executed. Is there some way to force this to always be
executed?
Thanks,
John Ritchie
I have a web form accounting app. In certain instances it
causes trouble if the user clicks the Back button. I've
read several posts that indicate that it is not
recommended (or even possible) to try to disable the Back
button. So, what I did was save a session variable with
the name of the current webform and then check this
session variable on page load to make sure the user was
not coming from a page that was not acceptable.
This works when I navigate to the page by typing in a URL
but is seems like when I click the Back button to go to a
page I should not go back to, the code behind is not
executed. Is there some way to force this to always be
executed?
Thanks,
John Ritchie