• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue with IE 7.0 browser? Unexpected GET request after POST request

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I donot know where to post this issue in this forum. Please help to move it to the more appropriate place. Thanks.

Issue:

I have an ordinary web application which is running successfully for years without any issues. Suddenly we are facing the issue intermittely. On our investigation we came to know that users accessing with IE 7.0 browsers only gettting these errors and < IE 6.0 are working fine.
We can able to replicate the same issue in IE 7.0. So we have came to the conclusion some comptability issues with browser. But the user wants to use it in IE 7.0.
On our further investigation, We have noticed that in IE 7.0 browser after the POST request, unexpected and automaticallty another GET request is hitting the server is the root cause. But not for all the POST request it's coming..only for some of the POST operations after receiving the response and automatic GET request is trigerring.
Please help if any one has encountered this issue. Please help to advice on it. thanks.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What resource is the GET request requesting? Is it the same as the POST?
 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, how is the call from the particular page made to server?
Some instances from my experience I recall wherein two server requests were occurring are -
> The HTML form is submitted using incorrect JavaScript> A JavaScript validation and page submission logic is associated with a submit button's onclick
Somehow in IE6 and other browsers as soon as one call is issued, the next was not made. The same was not true for IE7.
 
Mike Thomson
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


What resource is the GET request requesting? Is it the same as the POST?



For example, below is the POST request with data in the body:
POST
name-value
empId-1001
empName-Mike

followed by
GET (no data/query string).
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anirvan, in your example there are two submits written into the page, one fired by JavaScript the other by the submit input. I would expect two submits unless the browser does somethign clever to spot they are the same. However in theis instance both would have the same request type, not one post and one get.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Repeat: is the GET to the same URL as the POST?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic