Skip to Content
author's profile photo Former Member
Former Member

Cache Problem on a PDA

Hi,

I have a problem when using a PDA Compaq IPAQ (Windows CE and Pocket Browser. The Cache avoid to have actual data on the screen, in some cases we have old pages on the screen.

Is there an possibility to switch off the cache ??

Michael

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Jul 12, 2004 at 09:40 AM

    We have run against the same problem, unfortunately the cache can not be stopped (or at least, there is no elegant way for doing that).

    But the problem can be solved otherway - by using unique URLs. Look in the SAP ME API, there is URLFormatter.getUniqueURL() method that may take the work for you, or implement it for yourself. For our needs the method was unsatisfactory, so we have done such reimplementation.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2004 at 02:39 PM

    What about switching off the cache by browser setting (no idea if this works for PDA browser)

    Additionally try to add the line

    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

    to your html resp. JSP page header. This directive indicates cached information should not be used and instead requests should be forwarded to the origin server. This directive has the same semantics as the CACHE-CONTROL:NO-CACHE directive and is provided for backwards compatibility with HTTP/1.0.

    Regards

    Volker

    Add comment
    10|10000 characters needed characters exceeded