|
Posted by J.O. Aho on 11/14/05 14:56
John wrote:
> On 14 Nov 2005 02:05:50 -0800, "Ian B" <ianbambury@gmail.com> wrote:
>
>> Could you be a little clearer about what you want? And a bit more
>> specific about what you are doing?
>>
>> If all you want is to be able to hit the back button and not get the
>> previous page, use document.location.replace()
>>
>> I'm sure there are more elegant solutions to whatever you are trying to
>> do, though.
>
> I want the user to be able to hit the back button, which could be from
> one of 20 or so different pages and get back to the FORM page so that
> they can type in another index if they so choose.
>
> The problem seems to be that when the page goes back the information
> from the previous entry is still there and the php thinks it is ready
> to redirect which it then does. The php tests for POST (?bel_num=9999
> for example) on the address line.
>
> Hope that's clear now.
>
Your user aren't getting back to the form page, they are getting back to the
page that was generated thanks to the results from the form page, and in your
case that page is the redirection, which leads that they are directly
redirected back to the page from where they wanted to get to the form page
with help of the backbutton on the browser. If you want to get past that
redirection, you need to hastily dubble click on the backbutton to get to the
form page. Better solutions to your problem has been already posted.
//Aho
Navigation:
[Reply to this message]
|