How does browser back button work




















It's up to the site designer to prevent that from happening. Am I right? Because when I was doing development with ASP. Probably depends on the browser. My browser Safari always asks -- at least I think it's always asking. I was using Safari. It does not always ask. It must be following the logic that I described. Show 3 more comments. John Hoven John Hoven 4, 2 2 gold badges 26 26 silver badges 31 31 bronze badges. I think the easiest way to explain this is in pseudocode: class Page: String url, Page previous, next implements a doubly-linked list class History: Page current current page void back : if current.

Imagist Imagist 17k 12 12 gold badges 54 54 silver badges 76 76 bronze badges. The basic idea is to return to the last page or logical site division.

BobBrez BobBrez 7 7 silver badges 21 21 bronze badges. When does the browser uses the cache and when does it resend a request? It depends on the browser and what was done up to that point. You can set most browsers not to cache and so they will always reload. There is a HTML metatag for caching but respecting that is upto the browser. Sorry for not very direct answer, but there are some straight answers here already. Ilya Birman Ilya Birman 8, 3 3 gold badges 23 23 silver badges 31 31 bronze badges.

Alas, taking into account all possible effects of the back button something that drives most developers crazy, myself included. Dileep kumar Dileep kumar No, it does not work let that! If the cache is no longer valid, it sends a request back to the server to get the page again.

I kind of seem to be missing the point of the question. They probably want to disable the back button - or prevent its use. Good luck. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Visit chat.

Linked See more linked questions. Related If you use your web browser's back button to backup past the point where you logged into Volgistics, you'll need to login again. In this case simply enter www. Webpage expired is not the same as Session expired If your web browser tells you a web page you've "backed-up" to has expired, it does not necessarily mean that your Volgistics session has expired. If you still see the Volgistics menu on the page, you can continue working in your Volgistics session by simply choosing any option from the Volgistics menu.

Testimonials About Us Contact Us. More Help. Getting Started. Topic List. Also, has navigation design improved overall in the past 12 years leading to users not displaying as much anxiety and expectation of being able to use the back button to escape, as Nielsen illustrates?

An excellent article that I think summarizes the issues around the Back problem very well and puts forward some suggestions:. This study asked for "mozilla firefox users who used multiple tabs or windows" as requirements for participants. This is completely ungeneralizable. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. Do users understand the browser back button? Ask Question. Asked 10 years, 5 months ago. Active 8 years, 6 months ago. Viewed 19k times. Improve this question. Rahul Ivan Maeder Ivan Maeder 1 1 gold badge 5 5 silver badges 7 7 bronze badges. You should take a look at this question: ux. Add a comment. Active Oldest Votes. What Jakob said As far back as or if you include the "frames" problem , Jakob Nielsen's number one "web design mistake" was "breaking the back button": 1.

Breaking or Slowing Down the Back Button The Back button is the lifeline of the Web user and the second-most used navigation feature after following hypertext links. Except, of course, for those sites that break Back by committing one of these design sins: opening a new browser window see mistake 2 using an immediate redirect: every time the user clicks Back, the browser returns to a page that bounces the user forward to the undesired location prevents caching such that the Back navigation requires a fresh trip to the server; all hypertext navigation should be sub-second and this goes double for backtracking Clearly, users not only understand the back button but if you mess with it, it's the biggest reason for people to get confused and lose their way.



0コメント

  • 1000 / 1000