Re: IE5 and cached jsp pages?
ruaidhri == ruaidhri fernandes Ruaidhr writes: ruaidhri Hi all, Sorry for sending in this question again but nothing I ruaidhri try is working. I've tried setting the response headers to ruaidhri control the cache and Ive tried setting the meta eqiv tags but I ruaidhri still have my problem. When the user hits the back button the ruaidhri previous pages is still there, I'm assuming its coming from the ruaidhri cache. I read IE5 has a few problems but I can't resolve them ruaidhri with the fixes. If anyone has ever resovled a problem similar to ruaidhri this could they let me know how they did it? Thanks Rui When you say you tried setting the response headers, do you mean you had something like this?: Cache-Control: max-age=0 -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004) === 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
Re: IE5 and cached jsp pages?
how do you expire the pages once you go to a new page? syntax please. -Original Message- From: Hari Yellina [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 10:59 PM To: [EMAIL PROTECTED] Subject: Re: IE5 and cached jsp pages? Hi, If you are submitting a form. it should be post method rather than get method. That u cannot see any cached elements. U can expire the pages once you go to new page. - Original Message - From: Ruaidhrí Fernandes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 20, 2001 3:00 AM Subject: IE5 and cached jsp pages? Hi all, Sorry for sending in this question again but nothing I try is working. I've tried setting the response headers to control the cache and Ive tried setting the meta eqiv tags but I still have my problem. When the user hits the back button the previous pages is still there, I'm assuming its coming from the cache. I read IE5 has a few problems but I can't resolve them with the fixes. If anyone has ever resovled a problem similar to this could they let me know how they did it? 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 === 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
Re: IE5 and cached jsp pages?
try this, I think it is the right code: response.setDateHeader(Expires, 0); response.setHeader(Pragma, no-cache); if (request.getProtocol().equals(HTTP/1.1)) { response.setHeader(Cache-Control, no-cache); } remember you can't change the response header once the buffer has been flushed, so put this code before any includes or buffer flushes. -Scott _ Scott Chase Information Management Consultant [EMAIL PROTECTED] TEL: (810) 242-0194 FAX: (248) 312-3094 MatrixOne, Inc. 5440 Corporate Drive #200 Troy, MI 48098 USA www.matrixone.com The First in Intelligent Collaborative Commerce _ -Original Message- From: Shawn Zhu [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 3:12 PM To: [EMAIL PROTECTED] Subject: Re: IE5 and cached jsp pages? how do you expire the pages once you go to a new page? syntax please. -Original Message- From: Hari Yellina [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 10:59 PM To: [EMAIL PROTECTED] Subject: Re: IE5 and cached jsp pages? Hi, If you are submitting a form. it should be post method rather than get method. That u cannot see any cached elements. U can expire the pages once you go to new page. - Original Message - From: Ruaidhrí Fernandes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 20, 2001 3:00 AM Subject: IE5 and cached jsp pages? Hi all, Sorry for sending in this question again but nothing I try is working. I've tried setting the response headers to control the cache and Ive tried setting the meta eqiv tags but I still have my problem. When the user hits the back button the previous pages is still there, I'm assuming its coming from the cache. I read IE5 has a few problems but I can't resolve them with the fixes. If anyone has ever resovled a problem similar to this could they let me know how they did it? 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 === 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
IE5 and cached jsp pages?
Hi all, Sorry for sending in this question again but nothing I try is working. I've tried setting the response headers to control the cache and Ive tried setting the meta eqiv tags but I still have my problem. When the user hits the back button the previous pages is still there, I'm assuming its coming from the cache. I read IE5 has a few problems but I can't resolve them with the fixes. If anyone has ever resovled a problem similar to this could they let me know how they did it? 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
Re: IE5 and cached jsp pages?
Hi, If you are submitting a form. it should be post method rather than get method. That u cannot see any cached elements. U can expire the pages once you go to new page. - Original Message - From: Ruaidhrí Fernandes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 20, 2001 3:00 AM Subject: IE5 and cached jsp pages? Hi all, Sorry for sending in this question again but nothing I try is working. I've tried setting the response headers to control the cache and Ive tried setting the meta eqiv tags but I still have my problem. When the user hits the back button the previous pages is still there, I'm assuming its coming from the cache. I read IE5 has a few problems but I can't resolve them with the fixes. If anyone has ever resovled a problem similar to this could they let me know how they did it? 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