Hi

I am creating a simple servlet. In which i have used
setHeader() method. I wrote following line

res.setHeader("Cache-Control","no-cache");

sothat if a person click back button on browser then
that corresponding page will not be displayed. But
this is not working. I am using IE 5.0 and its
supports HTTP 1.1

I have allready tried

res.setHeader("Cache-Control","no-store");

and

res.setHeader("pragma","no-cache");

but still its not working.


Thanks

Sharad



__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to