|
Posted by Michael Fesser on 07/13/07 15:57
..oO(Captain Paralytic)
>On 13 Jul, 15:48, chima...@googlemail.com wrote:
>> Hi all,
>> I have a problem with maintaining data without refreshing manually in
>> my system. I have a system which carries data across several pages.
>> But if a user wants to go back to the previous pages, he is asked to
>> refresh at each stage, which is inconvenience. I want to be able to
>> maintain the data without refreshing when a user presses a back
>> button.
>
>You'll need to use GET instead of POST on your forms
Nope. Just send the data with POST (this is required for large form
data), then let the processing script return a 'Location' header with
the absolute URI of the current page. The browser will then fetch the
same page again with a normal GET request. This will prevent the ugly
"page expired" warning in the browser when going back in its history.
Micha
Navigation:
[Reply to this message]
|