Advertisement:

Author Topic: Is it possible to work around "confirm-form-resubmission"?  (Read 177 times)

Offline richardwbb

  • Jr. Member
  • **
  • Posts: 269
  • currently reading; '$smcFunc'
Is it possible to work around "confirm-form-resubmission"?
« on: January 03, 2018, 02:43:12 PM »
While it might not be directly Simple Machines related, I once in a while as a user of my own forum, get this message:



This does annoy me "a little" and I wonder if other people recognize this with their forum. Is it possible to make stop a browser complain with something that resembles a white screen of death (while I can get the technical explanation I assume that atleast part of my forum users don't bother to read the message), my question, is there something I can do about this browser behaviour?
If my post in this topic looks ambiguous to you, then I'm with Murphy's law and General Stupidity. In other words, trial and error.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,339
    • Arantor on GitHub
Re: Is it possible to work around "confirm-form-resubmission"?
« Reply #1 on: January 03, 2018, 03:52:27 PM »
It's not the software doing it - it's your browser.

You pressed a button that saved something and then pressed refresh (either on the browser menu or pressed F5 on your keyboard) - the browser is checking to make sure you really did want to send the data again. This is the same mechanism that browsers use to try to prevent people doing things like buying something twice by accident.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline richardwbb

  • Jr. Member
  • **
  • Posts: 269
  • currently reading; '$smcFunc'
Re: Is it possible to work around "confirm-form-resubmission"?
« Reply #2 on: January 03, 2018, 04:47:09 PM »
I can understand that this is an important mechanism, when people buy things twice (and the webshop makers maybe didn't think about that).

I also learned that Simple Machines as far as I know, always doesn't drop contents of a post which is more important. Albeit there are just a few annoyances I have, whith both browsers, they do respond with the same, to me disappointing behaviour (what might show me why that is so next time).

Maybe I'll post another one (while I probably might understand when this comes by, it is the same or a similar "technological" barrier), if the Site Admins will allow me. There is just something jerky with my forum (in the chain: hosting provider, used software, my htaccess) I am after, because that had been introduced by something that still is unknown to me and that really annoys me.
If my post in this topic looks ambiguous to you, then I'm with Murphy's law and General Stupidity. In other words, trial and error.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,339
    • Arantor on GitHub
Re: Is it possible to work around "confirm-form-resubmission"?
« Reply #3 on: January 03, 2018, 04:57:20 PM »
Well, let's do the really obvious step: what, exactly, step by step, did you do before getting that screen?
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline richardwbb

  • Jr. Member
  • **
  • Posts: 269
  • currently reading; '$smcFunc'
Re: Is it possible to work around "confirm-form-resubmission"?
« Reply #4 on: January 03, 2018, 05:54:46 PM »
Heh, Arantor, that does make me remember my previous issue I had with Maria-db, which has been minimized now. And also this time, I have no straight answer, but I will post here, instead of opening a new topic, when I have found  a proper way of describing, that is better then it annoys me and I feel that my browser is spoiling my user experience I have with my forum, minus, this "user has used the back button" subject I better understand now, and added with that, hearsay I have received from my users, that don't complain often, but it had to do with their user experience.

On the other hand, I did suffer a users logs in to the forum, expecting to be beamed to the requested topic or feature and being redirected to /. There is no real error I can copy and paste, nor a white screen of death. The core login gave me this issue and it took me a while to find out that it was a template related <input type="hidden" name="eb3306faf942" value="096ac857c017ad79fbdabe6a3d75a7e4"> (mainly because users have two options of logging in), later on I read several topics in this community about this, but I didn't ask inhere and say there where no topics about this subject, while I can not be 100% sure,  but I learned a lot about index.template.php and did comment out Sources/Security.php line 651 and a few lines more, while I should have been comparing my custom index.template.php with index.template.php in default.

I should go to Simple Machines 2.1, while I saw live fora on the internet doing this, while the database I am responsible for, contains technical details about cars and schematics, which the users will really miss if that gets lost. Also, I seem to be out of error messages since I also didn't kept putting modifications on it, I just know my user experience with this forum-community is a bit better then with my forum and it doesn't seem to me, to be a different hosting-setup.  Besides this browser notifications my forum is running sweet on a computer. The reason I consider Simple Machines 2.1 is that my telephone experience isn't 100 percent, (android), while an Iphone 5S (which I don't own) seem to do it. If I could be sure my database will go back to 2.0 while being upgraded to 2.1, I would already be with Simple Machines 2.1. I am aware my post is a bit hairy, but this is where I am with my forum and I follow the advice to not upgrade to beta, that might leave me without support and that I can not sell to my users. Lastly I want to say that this user experience I am having with two browsers is hard to explain but it really is different from that core login issue I now can laugh about and that I noticed what the last update (2.0.15), has been fixing, which really is showing competence in the field of php and what more.
If my post in this topic looks ambiguous to you, then I'm with Murphy's law and General Stupidity. In other words, trial and error.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,339
    • Arantor on GitHub
Re: Is it possible to work around "confirm-form-resubmission"?
« Reply #5 on: January 03, 2018, 05:58:14 PM »
Quote
but I learned a lot about index.template.php and did comment out Sources/Security.php line 651 and a few lines more, while I should have been comparing my custom index.template.php with index.template.php in default.

The lines are there for a reason. If you don't understand the reason, ask. You have probably made things insecure.

Quote
I just know my user experience with this forum-community is a bit better then with my forum and it doesn't seem to me, to be a different hosting-setup

This forum is running a mostly unmodified SMF 2.0, though on a much larger server than you will be using.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.