hi,
if you use javascript,you can do it!
<srcipt language="javascipt1.2" type="text/javascript">
window.location("***.jsp")
</script>
if you use this to get in another page ,you can not access previous pages,even if you
use back button.this only cause the page to be refreshde!
i tested with my ie5.5 +tomcat1.32
with regards!
----- Original Message -----
From: "Ruaidhr?Fernandes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 19, 2001 5:28 AM
Subject: Cache Control Question?
> Hi all,
> My problem is,I want to know how to stop users from
> seeing previous pages by using the back button. Like
> if someone fills out form fields and then submits and
> leaves the PC and then another user comes along and
> hits the back button then they can see all the past
> users sensitive info in the form fields.
> It seems the browser is retrieving the cached
> pages.How can I stop this from happening. I'd like to
> have it that if a person tried to hit the back button
> then they are taken to a warning page telling them
> that they can't view this page and give them a link to
> the start page.
> I've tried various methods to solve this problem but
> none seem to work properly.
> Could anyone tell me how to tell a jsp not to use the
> cached pages?
> thanks
> Rui
>
> =====
> "If a rabbit's foot is so lucky,..... what happened to the rabbit?"
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets