Hi Shawn,
The project is 3/4 complete.
And I wouldn't be at this stage without the help of
this mailing list, so thanks to everyone.
I sovled the DB problem by using a connection pool.
At the moment I have a login page where employees can
login and administer the database table of their
choice. I also have a product catalog where users can
perform searches and i have the shopping cart working
thanks to Aneesha. Now all I have left to do is a
facility whereby a user can book a time slot. I think
that should be ok to do.
I'll try that what u suggested.
I actually have code to disable the back button. It's
javascript. Put it between the <head> </head> tages of
the page. I'm wasn't too keen on it cause it's jscript
and a user could turn disable jscript on their browser
but it works.I'm not sure if its what your looking
for.Hope it helps.
Thank
Rui
<script language="JavaScript">
<!--
history.go(1);
//-->
</script>
--- Shawn Zhu <[EMAIL PROTECTED]> wrote:
> 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
=====
"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