russthebarber Posted September 14, 2012 Share Posted September 14, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/268387-firefox-error-ajax-and-normal-php-posts-on-same-page/ Share on other sites More sharing options...
Christian F. Posted September 15, 2012 Share Posted September 15, 2012 Show us the code, so that we can see what actually happens. That's the only way for us to accurately help you, and not waste time doing it. PS: I recommend that you read this article. Quote Link to comment https://forums.phpfreaks.com/topic/268387-firefox-error-ajax-and-normal-php-posts-on-same-page/#findComment-1378120 Share on other sites More sharing options...
Adam Posted September 16, 2012 Share Posted September 16, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/268387-firefox-error-ajax-and-normal-php-posts-on-same-page/#findComment-1378291 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.