Thank you so much for help, Jochen.
But would you explain in a bit more detailed way please??
Do you want me to use GET rather than POST??
I don't know what you mean by
[color=blue]
>(use header() ) by saving
> the POST variables to a SESSION file and then reading it from the
> SESSION file when you're on the GET request.[/color]
I am pretty new to php, and if you don't mind, would you write me a sample
codes please??
I am specially not understanding how I can use header() and use GET request
from SESSION file.
Thanks.
John
"Jochen Daum" <jochen.daum@cabletalk.co.nz> wrote in message
news:pqke801ao6sk19bev38mjg68af4n7t0adp@4ax.com...[color=blue]
> Hi John,
>
> On Thu, 22 Apr 2004 05:10:35 GMT, "John" <provicon@earthlink.net>
> wrote:
>[color=green]
> >Could anyone please help me on this??
> >
> >I have a php script page, which is basically quiz. Visitors (after login[/color][/color]
in[color=blue][color=green]
> >with their email address) are supposed to answer each question, and when
> >they click the button at the bottom, the next page will show which[/color][/color]
problems[color=blue][color=green]
> >they got right or wrong.
> >
> >Now my visitors, after seeing some problems they got wrong, click Back
> >button at the Explorer menu, and if they do, they get the below message:[/color]
>
> (..)[color=green]
> >Warning: Page has Expired[/color]
> (...)
>[color=green]
> >Now above codes present how the visitor did in the Quiz. But from this
> >page, if the visitor click the Back button, then they get the error[/color][/color]
message[color=blue][color=green]
> >above. How would I be able to make my visitor to go back to the previous
> >page with answers they have clicked in showing up again rather than[/color][/color]
getting[color=blue][color=green]
> >page expired message??[/color]
>
> Redirect all POST request to a GET request (use header() ) by saving
> the POST variables to a SESSION file and then reading it from the
> SESSION file when you're on the GET request.
>
> This way there is no page shpwing in the browser which has a POST
> request, ergo no message because of a POST request.
>
> HTH, Jochen
> --
> Jochen Daum - Cabletalk Group Ltd.
> PHP DB Edit Toolkit -- PHP scripts for building
> database editing interfaces.
>
http://sourceforge.net/projects/phpdbedittk/[/color]