locked
how to get rid of IE 7 warning message RRS feed

  • Question

  • User-720871594 posted

    when ever i am refreshing my page using window.reload in java script, i am getting a ie 7 warning message saying

    "to display the information again, internet exploerer need to resend info------"

    how to get rid of that

    Wednesday, January 14, 2009 12:41 PM

Answers

  • User-504499122 posted

     Thats IE warning its going to Post your request again to the server. This is a typical browser behavior when they do a HTTP POST request. For a simple GET request, you wouldnt see that problem.

    If you want to know more about GET and POST requests, refer to the following article

    http://www.cs.tut.fi/~jkorpela/forms/methods.html

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 14, 2009 1:53 PM
  • User1172317561 posted

    Hi,

    As Kumar said, "this is a typical browser behavior when they do a HTTP POST request".

    However, we can also use the following JavaScript method instead to avoid the issue if you only want to navigate the current page again.

     window.navigate(location);

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, January 18, 2009 11:31 PM
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, January 19, 2009 2:54 AM

All replies

  • User-504499122 posted

     Thats IE warning its going to Post your request again to the server. This is a typical browser behavior when they do a HTTP POST request. For a simple GET request, you wouldnt see that problem.

    If you want to know more about GET and POST requests, refer to the following article

    http://www.cs.tut.fi/~jkorpela/forms/methods.html

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 14, 2009 1:53 PM
  • User1172317561 posted

    Hi,

    As Kumar said, "this is a typical browser behavior when they do a HTTP POST request".

    However, we can also use the following JavaScript method instead to avoid the issue if you only want to navigate the current page again.

     window.navigate(location);

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, January 18, 2009 11:31 PM
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, January 19, 2009 2:54 AM