POST requests should never be cached, only for when the user uses the "back" function. Opera had some problems in versions 4 and 5 with this (it was reported a lot), and this is why I haven't bothered trying Opera 6. If it doesn't cache POST requests anymore, the problem has been fixed. This seems to be the case.

If the script gets executed, a cached version of the page is not being used. I don't know what $query->Dump should do, but you might want to check the raw contents waiting in STDIN (use a BEGIN block to make sure you are faster than CGI.pm or any module that slurps STDIN) to know for sure that it's not a bug in the module you're using.

Some modules don't work well with mod_perl. Do you work with mod_perl here? If so, you might want to check whether you're using a global instead of a lexical, or if a module does that.

Does this happen with MSIE on one computer, or on multiple computers? Have you tried several versions? I know of some who had to reinstall Windows because of strange MSIE behaviour. Does the problem occur with Mozilla too? Because of my disappointing experiences with Opera and caching, I wouldn't recommend using Opera for sane comparisons.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.


In reply to Re: Strange POST Behavior / Possible Caching Issue by Juerd
in thread Strange POST Behavior / Possible Caching Issue by vroom

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.