I am using window.history.back()
to navigate to a previous page inside my application.
However I have lot of cases like the following
A-->B-->B(postback)
in which i do post back inside the same page. For this case window.history.back()
is not useful since it keeps going to the same page B until there are no postback navigations in history.
Is there some known and secure way of dealing with this situation?