Pressing 'BACK' in browser and not getting previous page

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Astara

Pressing 'BACK' in browser and not getting previous page

Unread post by Astara » 2017-07-21, 13:07

Sometimes, when I press back, I can't get the previous page to display -- something about the operation not being allowed
and that the page must be regenerated.

Why does this happen?

The reason I ask, is I came across the HTML spec on the w3.org site, url https://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html,
specifically section 13.13 on History Lists.
User agents often have history mechanisms, such as "Back" buttons and history lists, which can be used to redisplay an entity retrieved earlier in a session.

History mechanisms and caches are different. In particular history mechanisms SHOULD NOT try to show a semantically transparent view of the current state of a resource. Rather, a history mechanism is meant to show exactly what the user saw at the time when the resource was retrieved.

By default, an expiration time does not apply to history mechanisms. If the entity is still in storage, a history mechanism SHOULD display it even if the entity has expired, unless the user has specifically configured the agent to refresh expired history documents.
This section seems to say that I shouldn't be disallowed from pressing "back" and seeing the previous page. So what overrides section 13.13 -- as it seems to say that the history mechanism is not for semantic accuracy, but for user convenience. Shouldn't that prevent a situation from where pressing 'back' doesn't present you the previous page?

Thanks for clarifying and a great x64 port.
-A*a...

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1622
Joined: 2015-07-23, 16:09
Location: Norway

Re: Pressing 'BACK' in browser and not getting previous page

Unread post by Tomaso » 2017-07-21, 13:33

In some cases, this "issue" is simply caused by redirection.
When clicking the Back button, you go to a page that instantly redirects you to the page that you were trying to leave.
Instead of clicking on the Back button, try holding it down for half a second..
This will give you a history of where you've been, and lets you choose exactly where to go back to.
Last edited by Tomaso on 2017-07-21, 13:38, edited 2 times in total.

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Pressing 'BACK' in browser and not getting previous page

Unread post by adesh » 2017-07-21, 13:37

It does not happen for all the pages in history, only for the pages where you arrive after submitting some data (generally using HTTP POST method). For such cases it is a safeguarding mechanism to avoid potential mishappenings, e.g. duplicate transaction on a bank website.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35635
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Pressing 'BACK' in browser and not getting previous page

Unread post by Moonchild » 2017-07-21, 13:39

Another case where this happens is when the server explicitly indicates in the response headers that the page should not be cached.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked