Sorry for posting in this topic ignore my e-mail in this topic
----- Original Message ----- From: "BERNARDO ANTONIO BUFFA" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 11:44 AM Subject: Re: Prevent Cache. > This problem nearly turns me crazy. But I solved. > The real guilt of this horror cache history is IE (Microbugs) when > the GET http method is used. > > My solution: > always do a POST. And if you need a GET overwrite the URL, with an extra > parameter = System.currentTimeMillis() (guarantee value uniqueness). > And all my pages have this header: > > <head> > <meta http-equiv="EXPIRES" content="-1"> > <meta http-equiv="PRAGMA" content="NO-CACHE"> > <meta http-equiv="MAX-AGE" content="0"> > <meta http-equiv="CACHE-CONTROL" content="NO-CACHE"> > </head> > > > this works in all environments I've tested. > I hope you have luck! > Bernardo > > > > > > > > > > > > Yes, I have a proxy server for Extranet access, but my application runs > > only on the intranet. > > > > > > > > > >>From: Chuck Cavaness <[EMAIL PROTECTED]> > >>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >>Subject: Re: Prevent Cache. > >>Date: Fri, 24 Jan 2003 19:00:09 -0500 > >> > >>Just out of curiosity, are you using a proxy server? > >> > >>chuck > >> > > >> > From: "carlos list" <[EMAIL PROTECTED]> > >> > Date: 2003/01/24 Fri PM 06:09:53 EST > >> > To: [EMAIL PROTECTED] > >> > Subject: Prevent Cache. > >> > > >> > > >> > > >> > > >> > > >> > Hello List, i'm dealing with the old problem of preventing browser > >>chache. > >> > I've tried all the combinations i found in the archive: > >> > > >> > Code in my JSP view: > >> <%response.setHeader("Cache-Control","no-cache"); > >> > response.setHeader("Pragma","no-cache"); > >> response.setDateHeader("Expires",0); > >> > %> > >> > > >> > Also the same code in my Action class. > >> > > >> > And nocache=true in the initialization parameters of the > >> ActionServlet. > >> > > >> > But nothing seems to work. > >> > > >> > Has anyone solved this problem effectively? > >> > > >> > thanks in advanced. > >> > > >> > Carlos. > >> > > >> > _________________________________________________________________ > >> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > >> > http://join.msn.com/?page=features/virus > >> > > >> > > >> > -- > >> > To unsubscribe, e-mail: > >><mailto:[EMAIL PROTECTED]> > >> > For additional commands, e-mail: > >><mailto:[EMAIL PROTECTED]> > >> > > >> > > >> > >> > >>-- > >>To unsubscribe, e-mail: > >><mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: > >><mailto:[EMAIL PROTECTED]> > > > > > > _________________________________________________________________ > > Add photos to your messages with MSN 8. Get 2 months FREE*. > > http://join.msn.com/?page=features/featuredemail > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> For additional > > commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>