in reply to Strange POST Behavior / Possible Caching Issue

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.

  • Comment on Re: Strange POST Behavior / Possible Caching Issue