in reply to Re^2: page expired message
in thread page expired message

More a workaround than a solution, but...
Add a big label that says "Do not use your back button" in the header (or in each script producing the "dynamic" content
PLUS
build into your footer a link to something reasonable. Use standard .html if you're using a HERE for the footer; quote and escape VERY carefully if your footer is comprised of a bunch of

print "<p>something....</p>"; print "<p>something else...</p>";" print "<p><a href='path/to/something/reasonable...'>something reasonab +le</a></p>"; print "</body></html>";

where "something reasonable" is your home "page," the top "page" in the section from which the submit calls the cgi, etc.

Replies are listed 'Best First'.
Re^4: page expired message
by tinita (Parson) on Jan 03, 2005 at 20:20 UTC
    Add a big label that says "Do not use your back button"
    just a note: i hate websites that do that, especially if you get wrong results if you do use the button. i have a browser with back- and forward buttons (or keyboard shortcuts), and i want to use them. i might not be the only one.

    i'm pretty sure every problem like this can be solved in a way so that the user might use their browser like it is meant to. otherwise HTTP is probably not the right protocol for the task.
    just my 2 cents.

      agree, pretty much, but "what I want" and "what my client's browser lets them do" are all too often, "dissimilar."