Try to include the following HTTP headers in your xsp page (I have no idea
how you can do that, I'm new to C2):

Pragma:no-cache
Cache-Control:no-cache

These headers will tell any caching mechanism not to cache the page.
If anybody knows how to set HTTP headers in xsp pages, I also would be
interested to find out.

-----Original Message-----
From: Morrison, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 3:11 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [C2] Don't cache. Please!


Oh.  I tried something along the lines of:

<xsp:page
  language="java"
  xmlns:xsp="http://apache.org/xsp";>

  <sample>
    <xsp:logic>
      String area = request.getParameter("area");
      if(area == null)
        area = "";
      else
        area = area + "/";
    <area><xsp:expr>area</xsp:expr></area>
    </xsp:logic>
  </sample>
</xsp:page>

And it appeared to be caching.  I'll return and investigate more later.  Is
there an easy way to get at request parameters in the sitemap?

J.

> -----Original Message-----
> From: giacomo [mailto:[EMAIL PROTECTED]]
> Sent: 04 June 2001 2:02 pm
> To: '[EMAIL PROTECTED]'
> Subject: Re: [C2] Don't cache. Please!
> 
> 
> On Mon, 4 Jun 2001, Morrison, John wrote:
> 
> > Hi all,
> >
> > How do I *stop* C2 from caching a (for example) xsp page?
> 
> XSP pages are by default not cached.
> 
> Giacomo
> 
> >
> > Thanks,
> >
> > J.
> >
> >
> > 
> ==============================================================
> =========
> > Information in this email and any attachments are 
> confidential, and may
> > not be copied or used by anyone other than the addressee, 
> nor disclosed
> > to any third party without our permission.  There is no intention to
> > create any legally binding contract or other commitment 
> through the use
> > of this email.
> >
> > Experian Limited (registration number 653331).
> > Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to