Hi,

I've just moved a shopping cart I've been working on into mod_perl, and
fortunately it all seems to have worked straight away without any code
changes.

There is one problem though related to the what seems like caching of
pages. I'm building each page of categories based on the category id
passed in, and when I access one page (e.g. cat_id=10), followed quickly
by another of a different category (e.g. cat_id=15) I always get the
original page again (cat_id=10).

Evened forced refreshing of the page by holding shift in the browser,
and setting the expired header to yesterday don't fix it.

However, if I then leave the site alone for a minute or two, and refresh
the page I will get the new page that I wanted (cat_id=15). 

It seems to me like mod_perl is somehow caching the results of the
script for a short time, and if its called quickly again it will just
send out the same results without accepting new parameters. Is there a
way to disable this or prevent it from behaving like this ?

I'm running apache-1.3.27ensim-0ensim10 and mod_perl-1.26-5. I can't
upgrade because my server is running ensim.

Thanks for any pointers.

Andy.

-- 
Luibh.com
E: [EMAIL PROTECTED]
W: http://www.luibh.com

Web Hosting and Development.


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to