RE: I don't want cached pages

2001-01-21 Thread Amos Shapira
Message- From: Hugo Lara [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 20, 2001 2:53 AM To: 'Craig O'Brien' Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: I don't want cached pages Craig, I want to thank you for your help. I tried the carts.html examp

Re: I don't want cached pages

2001-01-19 Thread Bill_Fellows/MO/americancentury
I'd do something insane like.. meta http-equiv="PRAGMA" content="NO-CACHE" Not guaranteed to work for every browser and I can't remember what the other thing you can set is, but if you did a search for the above tag in the search engine of your choice I'm sure you'll be able to find more

RE: I don't want cached pages

2001-01-19 Thread Craig O'Brien
Add these two lines to your Servlet or JSP: response.setHeader("Cache-Control", "no-cache"); response.setHeader("Pragma", "no-cache"); Not guaranteed to work in every browser. Regards, Craig -Original Message- From: Hugo Lara [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001

RE: I don't want cached pages

2001-01-19 Thread Ciot, Thierry
I found this somewhere (don't recall where) to prevent caching in the browser. %response.setDateHeader("Expires", 0);response.setHeader("Pragma", "no-cache");if ( request.getProtocol().equals("HTTP/1.1") ) response.setHeader("Cache-Control", "no-cache");% If you tried accessing the page

RE: I don't want cached pages

2001-01-19 Thread Craig O'Brien
don't want cached pages I found this somewhere (don't recall where) to prevent caching in the browser. % response.setDateHeader("Expires", 0); response.setHeader("Pragma", "no-cache"); if ( request.getProtocol().equals("HTTP/1.1") ) response.setHeader("

Re: I don't want cached pages

2001-01-19 Thread JDunn
Why don't you unroll the loop ? I assume that you want recursive calling to go only one level deep, so copy the firstPahe.jsp to secondPage.jsp They contain the same code . firstPage calls secondPage. It's probably safer also- no possibility of infinite loop if there a bug. If there's a lot of

RE: I don't want cached pages

2001-01-19 Thread Craig O'Brien
I cannot duplicate your problem. Are you having the same problem with the JSP example carts http://localhost:8080/jsp/sessions/carts.html ? Are you using Apache? I am using IIS5 but am having no problems. I have several applications like you mention and I can open up multiple instances of

RE: I don't want cached pages

2001-01-19 Thread Craig O'Brien
PROTECTED] Subject: RE: I don't want cached pages I cannot duplicate your problem. Are you having the same problem with the JSP example carts http://localhost:8080/jsp/sessions/carts.html ? Are you using Apache? I am using IIS5 but am having no problems. I have several applications like you mention

RE: I don't want cached pages

2001-01-19 Thread Frederic Kam-Thong
This is what I use: response.setHeader("Cache-Control", "no-cache"); response.setHeader("Pragma", "no-cache"); response.setDateHeader("Expires", System.currentTimeMillis()); response.setDateHeader("Last-Modified", System.currentTimeMillis()); The last line might be of help with browsers

RE: I don't want cached pages

2001-01-19 Thread Hugo Lara
these ideas make any sense or I'm just to tired? I'm not really sure why this is working like this, but it's working! -Original Message- From: Craig O'Brien [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 5:39 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: I don't wa

RE: I don't want cached pages

2001-01-19 Thread Ciot, Thierry
(that is they are local variables). Thierry. -Original Message- From: Hugo Lara [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 7:53 PM To: 'Craig O'Brien' Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: I don't want cached pages Craig, I want to thank you for your help. I

RE: I don't want cached pages

2001-01-19 Thread Craig O'Brien
imum cache and reload on every request. That is more useful for testing. Regards, Craig -Original Message- From: Ciot, Thierry [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 5:03 PM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: I don't want cached pages To unde