Hi,

You can use setHeader() method of HttpServletResponse. It has various
parameters including "expires". You can set the value of this.I hope this
shouls solve your problem.

Regards,
Yogesh
----- Original Message -----
From: "Biff Malone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 12:30 AM
Subject: Re: Log out


> <meta http-equiv="Expires" content="0">
>
>
> >From: "Narayanan, Hariharan" <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> >     reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: Log out
> >Date: Wed, 10 Jan 2001 03:50:57 -0600
> >
> >Hi,
> >
> >We can avoid this problem of caching. I don't know how it is done in JSP.
> >But in ASP scripting "Response.Expires = 0" will prevent the page from
> >caching in the client. Every request will be directed to the web server.
> >
> >Narayanan
> >                 -----Original Message-----
> >                 From:   Yogeeta_Raghunathan
> >[mailto:[EMAIL PROTECTED]]
> >                 Sent:   Tuesday, January 09, 2001 3:51 PM
> >                 To:     [EMAIL PROTECTED]
> >                 Subject:        Re: Log out
> >
> >                 Hi,
> >                         This can be done if the server is accessed on
> >clicking the back
> >                 button, but the html page present in the local m/c of
the
> >client is being
> >                 dispalyed. I want the client to access the server so
that
> >i
> >can do the check
> >                 and not allow the display of the page. So how can I make
> >the
> >client refresh
> >                 the previous page accessed rather than make the browser
> >display the previous
> >                 html.
> >
> >                 Yogeeta
> >
> >                 > ----------
> >                 > From:         hotmail[SMTP:[EMAIL PROTECTED]]
> >                 > Reply To:     A mailing list about Java Server Pages
> >specification and
> >                 > reference
> >                 > Sent:         Tuesday, January 09, 2001 3:45 PM
> >                 > To:   [EMAIL PROTECTED]
> >                 > Subject:      Re: Log out
> >                 >
> >                 >
> >                 > Hi Yogeeta,
> >                 > try to put some session when user accesses the site
and
> >on
> >all pages track
> >                 > this session if user logs out remove this session in
> >this
> >way if he comes
> >                 > thru back button he wont b able to see page
> >                 > MJ
> >                 > ----- Original Message -----
> >                 > From: Yogeeta_Raghunathan
> ><[EMAIL PROTECTED]>
> >                 > To: <[EMAIL PROTECTED]>
> >                 > Sent: Tuesday, January 09, 2001 3:17 PM
> >                 > 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
> >
>
>===========================================================================
> >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
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.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

Reply via email to