HI Please refer the following page
Microsoft ....
http://support.microsoft.com/support/kb/articles/Q222/0/64.ASP

Netscape ....
http://home.netscape.com/security/notes/nocache.html

-----Original Message-----
From: Irawan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 5:23 PM
To: [EMAIL PROTECTED]
Subject: Re: response.sendRedirect() problem to Irawan


Once you set the cache to no, it is up to the browser to honor the request
I believe.  Also in your case, what I would check is to make sure that the
code is working correctly.  So you are saying that all the data/content are
exactly the same as the other user?  Have you try using 2 different browser
(e.g. netscape and IE)?  If you have VisualAge for Java (IBM-- the one I am
using is the enterprise edition cannot say for other edition) there is a
websphere test environment included there, try debug your code in the test
environment to make sure the code is doing what it suppose to.

At 02:59 AM 8/27/01, you wrote:
>Hello Jason.
>I used the following response.setHeader methods inside my jsp page.
>still the page is not getting refreshed.
>but for me
>At 02:38 AM 27/08/2001 -0500, you wrote:
>>Jason,
>>
>>I got these lines of code from one of my colleague in prev department.  I
>>would say that you can set all the header that normally can exists in the
>>html code, since the idea is setting the header information when you are
>>about to send the resulting html page to the browser.
>>
>>What else are you trying to set in the response?  I may not understand
>>exactly what you are looking for.
>>
>>
>>
>>At 01:57 AM 4/27/01, you wrote:
>>>hi
>>>
>>>     I want to know where did you found this code? because I want to know
>>>more about this. Is it have more setting can set throw response?
>>>
>>>Jason
>>>----- Original Message -----
>>>From: Irawan <[EMAIL PROTECTED]>
>>>To: <[EMAIL PROTECTED]>
>>>Sent: Monday, August 27, 2001 9:51 AM
>>>Subject: Re: response.sendRedirect() problem
>>>
>>>
>>> > Sure can.
>>> >  From your code add the following 3 lines:
>>> > response.setHeader("Pragma", "No-cache");
>>> > response.setHeader("Cache-Control", "no-cache");
>>> > response.setDateHeader("Expires", 0);
>>> > I believe it is because of some differencies on how IE and Netscape
>>> handle
>>> > it, that's why you need to add those to make sure it works.
>>> >
>>> > At 08:28 PM 8/26/01, you wrote:
>>> > >Can you tell me how can i do that sir ???
>>> > >
>>> > >==
>>> > >thx,
>>> > >H`L
>>> > >----- Original Message -----
>>> > >From: <mailto:[EMAIL PROTECTED]>Irawan
>>> > >To: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>>> > >Sent: Monday, August 27, 2001 6:30 AM
>>> > >Subject: Re: response.sendRedirect() problem
>>> > >
>>> > >You may want to try to set so that the browser will not cache the
data
>>> > >in
>>> > >the list page jsp.
>>> > >
>>> > >At 11:28 AM 8/26/01, you wrote:
>>> > > >i have a silly problem here, if i delete a data in database from
>>> my jsp
>>> > > >page .. let say in the page i got 10 datas and i deleted one, and
>>> after
>>> > >i
>>> > > >deleted it i used sendRedirect() method to go back to the list
page. I
>>> > > >need to refresh the page or it will keep showing 10 datas. How can
i
>>> > >make
>>> > > >it like refresh it automaticly maybe ..
>>> > > >
>>> > > >==
>>> > > >thx,
>>> > > >A Java Addicted
>>> > >
>>> >
>========================================================================
>>> > >===
>>> > >To unsubscribe: mailto
>>><mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>>> > >with body: "signoff
>>> > >JSP-INTEREST".
>>> > >For digest: mailto
<mailto:[EMAIL PROTECTED]>[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://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.c
>>> om/j
>>>guru/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
>
>===========================================================================
>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

Reply via email to