in reply to Back Back NOOOO

I'd like to have the script prevent the last page from being shown....present the user with an error..page expired message or something.

When you emit the page that you don't want people to back into, include   Cache-control: no-cache in the header.

Replies are listed 'Best First'.
Re: Re: Back Back NOOOO
by Ferret (Scribe) on Aug 09, 2002 at 23:56 UTC

    Also, when you're printing your header with CGI, you can use:

    print $query->header ( .... expires => 'now' );
Re: Re: Back Back NOOOO
by TexasTess (Beadle) on Aug 10, 2002 at 00:11 UTC
    Great suggestion, The page that is causing the problems is an HTML that is simply dumped into main. The issue comes when submit values on that page are mixed with values that are sent to the Perl Script Driving the interface after the back action. I think putting this line in the header of the template used to create these pages just might do the trick...THANKS SO MUCH!

    TexasTess
    "Great Spirits Often Encounter Violent Opposition From Mediocre Minds" --Albert Einstein