You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by lloyd <su...@twilight-systems.com> on 2002/03/08 02:25:09 UTC

expire page after form submission

I'm having some trouble with users pressing the browser back button
after submitting a form, entering more data and attempting to resubmit.

Is it possible to expire the form page immediately after it's submitted?

I tried adding:


	<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
	<META HTTP-EQUIV="Expires" CONTENT="0">
	<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">

...to no avail.


I'm running Tomcat 4 on Linux, and I've tested with IE and Mozilla with
same results.  The page is generated with a Velocity servlet.


Thanks





--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>