Thanks. I thought I had fixed the problem this morning by passing around the
variables correctly so there was no mistaking which ones were being used but
I'm getting different problems now on another page.

For some reason when I refresh one of the pages I can get one of maybe three
or four different errors. Sometimes relating to objects not existing, or the
db connection isnt working, or methods not working. Then on some occasions
it works.

Its odd, but as soon as I disable mod_perl and use regular CGI it works fine.

Someone told me that Ensim ships a broken version of mod_perl and I'm really
starting to believe it..

Thanks again,

Andy.

> If I remember correctly we had a similar problem and the way we solved
> it was to make sure that at the beginning of the script all variables
> were initialized to 0 or blank.
>
> Malki Cymbalista
> Webmaster, Weizmann Institute of Science
> Rehovot, Israel 76100
> Internet: [EMAIL PROTECTED]
> 08-934-3036
>
>>>> andrew dunn <[EMAIL PROTECTED]> 10/12/2003 02:38:51 >>>
> 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


-- 
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