POST getting converted to GET across OS
Asked Answered
S

2

2


I'm facing a very weird kind of problem while running my application.

When I hit a website and login to my application, the POST is getting converted to GET automatically. Since all the request parameters are getting lost due to this, the page shows up an error screen.

This issue happens in IE-8 (Windows 7), but works absolutely fine in IE-8(Windows XP).

How is the OS involved in this? Have anyone faced such issues? This issue happens in IE-9 as well.

Kindly refer to this issue as well. Any solutions would be really helpful.

Thanks !!

Sohn answered 24/8, 2011 at 8:58 Comment(0)
S
2

This issue was happening due to a security setting in IE in Windows 7.

There is an option of Enabling/Disabling protected mode in IE of Windows-7. This is a new feature present in IE of Vista/Windows-7 and this option is enabled by default for “Internet” zone and “Local Intranet” zone(or any one of them). Disabling at these 2 places solved the issue.

Tools -> Internet Options -> Security -> Internet/Local Intranet -> Uncheck on the "Enable protected mode" option.

Sohn answered 2/9, 2011 at 4:42 Comment(0)
A
1

I'm a bit late to this party, but I just ran into this as well, and it made me crazy. IE (only) was turning a POST into a GET, which took running Fiddler to determine. This thread got me part way there, but the protected mode wasn't the deal. It turns out one site was in the Internet zone (the page making the post) and the other (receiving the post) was in the Intranet Zone. By adding the calling page to either Intranet Zone or Trusted Sites, IE stopped turning the POST into a GET. It appears that you can't call up the zone stack without IE turning the POST into a get, but you can call down. The big tip for us (we opened the POST in a new window (target=_blank)) was that when calling from Internet to Intranet, the new page opened in a new IE window, but when configured "correctly", the new popup will open in a new tab (the expected behavior).

Afreet answered 28/8, 2012 at 21:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.