He guys,
If the file doesn't live in the cache, the page must be reloaded in order to
be viewed, and the text boxes will be refreshed. In a sense, every time a
user hits the back button, they are pulling the page from cache unless it is
not in cache, or there is some code that forces the page to reload. When
the user tries to go back to the page, there will be a message saying that
the page has expired, and to use the reload button to view it. Try it, I
use it myself for the same reason. I wouldn't lie to you!
ps. there is a way to disable the back button, when i find the code, i'll
let you know.
-Scott
_____
Scott Chase
Information Management Consultant
[EMAIL PROTECTED]
TEL: (810) 242-0194
FAX: (248) 312-3094
MatrixOne, Inc.
5440 Corporate Drive #200
Troy, MI 48098 USA
www.matrixone.com
"The First in Intelligent Collaborative Commerce"
_____
> -----Original Message-----
> From: Shawn Zhu [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 18, 2001 6:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Cache Control Question?
>
>
> Hi Ruaidhri, how's your project going? Looks like you are
> almost done.
> did you get your db problem sovled?
>
> As for the back bottun. One solution is to reset your form
> during form
> onload event. You should be able to figure out what to do now.
>
> comment on others' suggestion:
> 1. disabling the back button, I have not seen how to do that
> yet; if someone
> truely knows, show us please.
>
> 2. disable caching? don't think that works in this case. they
> must not know
> what the question is.
>
> 3. using document.[var].value="" with onsubmit event?! lol,
> that won't work.
>
>
> > -----Original Message-----
> > From: Ruaidhr� Fernandes [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 18, 2001 2:28 PM
> > To: [EMAIL PROTECTED]
> > 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
>
===========================================================================
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