G
Guest
Hi,
I have a web form which displays some information based on criteria I store
in the session. When the user interacts with the page it is changed and
session changed accordingly. The use can navigate from the page ok, if they
click back all is ok because the session still relates to the page. However
there may be a situation when the user navigates to a new version of the page
(type in the url etc). How I have a page in the browser history to which the
user can use the back button to navigate to, to which the current values in
the session have no relation.
Here's what I want to do, if the user presses back, detect the page does not
match the session and update the page with the current session values. But
the page load event is not fired, so how do I trigger my update code.
I have a web form which displays some information based on criteria I store
in the session. When the user interacts with the page it is changed and
session changed accordingly. The use can navigate from the page ok, if they
click back all is ok because the session still relates to the page. However
there may be a situation when the user navigates to a new version of the page
(type in the url etc). How I have a page in the browser history to which the
user can use the back button to navigate to, to which the current values in
the session have no relation.
Here's what I want to do, if the user presses back, detect the page does not
match the session and update the page with the current session values. But
the page load event is not fired, so how do I trigger my update code.