This is a question about the design of Embperl pages in which one page
includes several views, showing the successive steps in a process.
For example, one structural design I use frequently is a multi-step search
page. In VERY abbreviated form, it looks like this (it helps to read from
the bottom up):
[$ if $fdat{Button2} $]
[# This is what the user sees when Button2 has been pushed.
It may contain the details about the item the user selected
in the previous screen.
#]
[$ elsif $fdat{Button1} $]
[# This is what the user sees when Button1 has been pushed.
It may contain multiple hits from a search.
#]
[$ else $]
[# This is the "default screen", what the user sees on
first arriving at the page. It contains Button1, to
perform the first part of a search.
#]
[$ endif $]
The problem I encounter is that after the user clicks Button1 to go to View
2, or Button2 to go to View 3, clicking the browser's "Back" button gives
this error message:
Data Missing
This document resulted from a POST operation and has expired from
the cache. If you wish you can repost the form data to recreate
the document by pressing the reload button.
Is there a way to avoid this error? Is this caused by having several
different pages with essentially the same URL? Would splitting this form up
into separate Embperl pages help keep the documents in the cache longer?
I'd be grateful for any advice. (My apologies for not having a publicly
accessible example of a page like this.)
=================================================
Michael Boudreau
Senior Electronic Publishing Developer
The University of Chicago Press
1427 E. 60th Street
Chicago, IL 60637-2954
phone: 773 753 3298
fax: 773 753 3383
=================================================
=================================================
Michael Boudreau
Senior Electronic Publishing Developer
The University of Chicago Press
1427 E. 60th Street
Chicago, IL 60637-2954
phone: 773 753 3298
fax: 773 753 3383
=================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]