Thanks a Lot, Richard!! It is working!

> ----------
> From:         Berger, Richard[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list about Java Server Pages specification and
> reference
> Sent:         Tuesday, January 09, 2001 5:17 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Log out
>
> I have had alot of fun with this area already....
>
> If you are using JSP pages set the response headers within the JSP page  -
> >
>
> <%
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");
> response.setHeader("Expires", "Sat, 01 Jan 2000 06:01:01 GMT");
> %>
>
> This is better than using straight META tags as with IE5 it loads the page
> into cache before interpretting the page. Try not to use both, setting the
> response headers and using META tags for the same values as you get mixed
> results.
>
> When the user logs out invalidate the session.
>
> Now in theory this should work but you get mixed results depending on the
> Browser especially IE5 and above which seems to still cache everything
> regardless. However on installing a certificate IE appears to behave
> itself.
>
> Hope this helps
>
> Richard
>
> > -----Original Message-----
> > From: Yogeeta_Raghunathan [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 09, 2001 9:47 AM
> > To:   [EMAIL PROTECTED]
> > Subject:      Log out
> >
> > Hi,
> >         When a user logs out, I need to prevent him/her from viewing the
> > previous screen when the back button is clicked. Does anyone know how it
> > is
> > done?
> >
> > Thank You
> > T R Yogeeta
> >
> >
> ==========================================================================
> > =
> > 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

Reply via email to