Subject: Problem with PHP and IE
Posted By: phpcoder Post Date: 1/30/2004 10:01:08 AM
Hello,

I am developing an application using PHP and Oracle. I am having one problem with this.

When I try go use browser "back" button, it gives a message "Page cannot be refreshed without resending the information, Click Retry to send information again" and then I have to hit "Refresh" Button everytime.

I am using "POST" method for passing my variables.

Is there a way I can get rid of this irritating message while trying to go back ?? Also if I use GET instead POST what are the changes I would have to make in order to make my code work.

Please help me !! Thank you for your help.

Phpcoder

Nirali
Reply By: nikolai Reply Date: 1/30/2004 5:22:43 PM
This message happens because the page you're trying to load was generated as the result of having submitted POST data.  You can only get rid of this error by using GET instead of POST.

The easiest way to convert your scripts to using GET instead of POST is to simply search and replace all instances of $_POST and convert them to $_GET.

One thing to be aware of -- there's a limit to how long your URL can be, so you can't use GET to submit large amounts of data.  For example, you wouldn't want to use GET for this forum's reply textarea...


Take care,

Nik
http://www.bigaction.org/

Go to topic 9207

Return to index page 958
Return to index page 957
Return to index page 956
Return to index page 955
Return to index page 954
Return to index page 953
Return to index page 952
Return to index page 951
Return to index page 950
Return to index page 949