Open Bug 493437 Opened 15 years ago Updated 2 years ago

Skip uncached POSTDATA pages when navigating in session history

Categories

(Core :: Networking, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: jruderman, Unassigned)

Details

(Whiteboard: [necko-would-take])

Several people suggested in bug 160144 that instead of showing a resubmission warning dialog/page, Firefox should simply skip the page in history.  In most cases, Back will then take you to the page containing the form.  This is arguably better than showing a dialog or error page, since you can still resubmit with a single click, and it's clearer which transaction might be repeated.
I'm opposed to making this the default behavior, but making a configuration option would be fine with me and apparently helpful to some.  My preference is to use an info page, bug 569142.

This bug should block bug 160144.
This might kinda suck when a site uses POST for search and you're several searches deep (a "chain of POSTs").

One possibility is allowing the dropdown to contain the entries but skipping them with the basic back/forward button.  But this isn't very discoverable.

Another possibility is to skip POST results when going back but including them when going forward.  Then you have an idea of which form you're potentially resubmitting.
A drawback to skipping is that it introduces inconsistency in how many times you have to click the Back button.  Depending on whether the intermediate pages were cached, you might have to click once or three times to get where you're going.
(In reply to comment #2)

> Another possibility is to skip POST results when going back but including
> them when going forward.  Then you have an idea of which form you're
> potentially resubmitting.

yeah I really like this idea.
yes, i like the idea. But please, all in the same tab without popup.
If bug 569142 were fixed, having on the error page a button to go back to the nearest GET would almost satisfy this bug, and it would avoid confusing the user by skipping unexpectedly.
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.