Jump to content

Post Data and internet explorer


MichaelMackey

Recommended Posts

So what's the deal with POST data and Internet Explorer?  It doesn't seem to play too friendly with IE and history.back options.

 

What's the best way to deal with this?  Everything I try seems to have the same effect and the general impression I get from googling is that short of changing my POST to something like SESSION there isn't much I can do.

 

Any help is appreciated, thanks.

Mike

Link to comment
https://forums.phpfreaks.com/topic/112228-post-data-and-internet-explorer/
Share on other sites

Simple solution: don't use history.back Anytime you go back into a page that processed form data, you are resubmitting the data. You should always redirect from a page that handles post data to a  page that doesn't.

 

 

EDIT: and I agree with ^ you need to tell us your problem.

You would need to tell us specifically what problem you are having for anyone in a Forum to be able to give you a specific answer.

 

Sorry,

 

Essentially I have a few places where there will be two pages.  One page has a fair amount of post data on it, and occasionally it will send the user to a new page depending on what they select.  The problem is these pages can be accessed from multiple locations so I need the user to just be able to be sent back a page when they are done at the new page.  In Firefox this works ok, it gives a post data prompt but it does send them back.  In IE though it just won't work and I have to refresh it for it to load the page.

 

This was definitely not something I was thinking about before hand as post data is new to me.  I'm working on a system that was previously set up so saying no to POST data is just not an option at this stage, it's used everywhere. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.