Jump to content

Recommended Posts

I have a form file upload page. When I hit submit it posts data to php which uploads an image. Then from this .php page I click an ok button which sends me back to my form upload (posting some data with me). I can then repeat the process and upload more files...all working ok so far. On the upload page, I also have a list of all the files I've uploaded. I am using jquery ajax to post data to another php file which changes some things in my database relating to those files and fires response data back to my form. This page also does some other tasks that require reloading the page. Because the page has post data, I am getting the "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier." message.

 

Can anyone think of a way around the problem without using normal php posts for the whole thing or using ajax for the whole thing. All tasks need to be performed on this one page.

Sounds like you're using history.back(), in which case the browser will always ask if the user wants to resubmit the form, for security. You should form a completely new request to the previous page, and pass along whatever data is needed.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.