I have an asp.net page that calls itself recursively if the user selects certain actions on form buttons. The page will be changed in various ways according to the action called for by the user. This works fine, except for the fact that the "action" variable is a hidden field and if the user hits the refresh button or navigates to the page by the "back" button or other methods, the latest "action" will be performed again. Does anyone out there know a way to detect how the page was reached? Ideally I would like to know if the page was called from a hyperlink on a certain page or reached by use of refresh, back or the address bar.
detect if page is refreshed
Collapse
X
Comment