[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    RE: no-cache  where to set?
From:       "Durham David Cntr 805CSS/SCBE" <David.Durham1 () scott ! af ! mil>
Date:       2002-07-31 21:48:17
[Download RAW message or body]

this should work with all http1.1 compatible browsers:

    response.setHeader("Cache-Control", "no-cache");


Dave


> -----Original Message-----
> From: slickdev [mailto:slickdev@comcast.net]
> Sent: Wednesday, July 31, 2002 4:27 PM
> To: Tomcat Users List
> Subject: no-cache where to set?
> 
> 
> pardon my naivete', but where do i set pages for 'no-cache'?  
> i hope it's
> not just a browser setting... unknown number of browsers to set.
> 
> 
> ----- Original Message -----
> From: "peter lin" <peter.lin@labs.gte.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Friday, July 26, 2002 1:31 PM
> Subject: Re: Can Tomcat 4.03 expire web pages
> 
> 
> >
> > set your pages to no-cache, which forces the browser to 
> always get it
> > from the server. Is that what you're looking for?
> >
> > peter
> >
> >
> > Steve Russell wrote:
> > >
> > > Hi;
> > >
> > > My boss wants to "expire" our jsp pages.
> > >
> > > In other words, if a user hits backspace, instead of 
> getting the jsp
> > > page s/he just left s/he would see a notice that the page expired.
> > >
> > > I've seen snippets of code to do this on google, but I 
> haven't been able
> > > to get them to work.
> > >
> > > Can Tomcat 4.03 "expire" web pages or do I need a 
> webserver with Tomcat
> > > to do this?
> > >
> > > Also if someone could show me an example of how do this, with the
> > > example of being a whole html/jsp page I would appreciate it.
> > >
> > > Thanks in advance
> > >
> > > Steve
> > >
> > > --
> > > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> >
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic