In my ASP.NET MVC project, we implemented Lucine search (although this data is not required in this context, just giving some background, because I believe that my problem has something to do with IE browser and caching).
On this page, the user can filter his search by keyword. And the user can click to go to the listed items and return to the same page using the browser button or the manual HTML button, which has javascript code, onclick = "location.href = 'Javascript:history.go(-1);'" ).
In Chrome, Firefox, and even Internet Explorer 9, the user returns the page that he stopped at without any problems. I meant that it saves the value entered by the user.
However, in both IE 10 and IE 11, when a user clicks on a filtered list item, he goes to the page, and when the user clicks the back back button or back back button, I first return the correct filtered page. However, when the user clicks on any item again and performs the same procedure, I will not return the filtered value. Instead, all text fields will not have a keyword entered by the user.
It is always assumed that the "Back" button is designed to help people return to the same page and indicate where they went. I left without a clue why IE 10 and 11 act differently. Can any of you please help me figure out what I don't see here.
javascript browser internet-explorer asp.net-mvc browser-cache
Tba
source share