----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

how does the html page know that it was displayed because of a doGet or 
doPost. can I alter this somewhere in the response portion so that it always 
thinks it was displayed because of doGet even though it is doPost sometimes?
Why I am asking this because in my doGet I show a blank form and when user 
enter data submit then with a doPost it process data and shows the next 
page; down the line if somebody clicks back button on the browser I want to 
have this page set so that it thinks it happned due to doGet(so that I will 
show a clear form) and not because of submit in form by doPost method; 
unless ofcourse if somebdy goes through clicking the sbumit button 
explicitly; any help will ge greatly appreciated

I tried noCache in response header but when somedy clicks back button on  
the browse eventhough it says cache expired user can click refresh and post 
from old data

basically i would like to have a clear form ONLY;  anytime user pressed back 
button; there should not be any way for the user to refresh and post data 
from the cache etc
Thanx
DPanda
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to