"ERR_CACHE_MISS" on click back button

Cristhian Caldas asked on May 20, 2016 23:24

Hello:

I was working in a custom webpart which redirect to an external page, this webpart was included in a Kentico page and the redirect process works; but when i clicked the back button in the browser for returning to the previous page, it apperared the following error:

Image Text

I was implemented in the webpart this solution, but the error still happens.

Do you know any way to solve this issue?

Thanks.

Correct Answer

Roman Hutnyk answered on May 21, 2016 05:44

Responsibility of button is form submission/processing, etc. I'd highly recommend using a link - it is designed to redirect. What happens in your case: you click the button, which causes form submit. After this you perform redirect on the server side. When you click back browser remembers that form submission was the last action taken at that page, but it does not perform that form submit action by default, but asks your confirmation. This behavior might differ in different browsers.

2 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.