My intuition is that you're using mod_perl and you're running into a closure, as I had similar problems with mod_perl. If you are using mod_perl, be sure you
use strict; and that you pass everything to any subroutine you employ, including blessed references. Anything you don't pass will maintain a life of its own (in a sense) within the subroutine, so be careful.
Again, as said, use Pragma or Cache-Control to prevent caching, either in HTML as:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> or as an HTTP header:
Pragma: no-cache - there's also the newer (and probably better, ie. HTTP 1.1)
Cache-Control: no-cache header that can also be smushed into a meta tag:
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">. I'd use both as HTTP headers if I wanted to prevent caching.
Hope it helps,
-Adam
--
Impossible! The Remonster can only be killed by stabbing him in the heart with the ancient bone saber of Zumakalis!
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.