in reply to Re: return image from CGI scrript error
in thread return image from CGI scrript error

the reason for the old expiration is i don't want the image to be cached...is there a better way of doing this?
  • Comment on Re: Re: return image from CGI scrript error

Replies are listed 'Best First'.
Re: Re: Re: return image from CGI scrript error
by hardburn (Abbot) on Oct 21, 2003 at 16:10 UTC

    Yes.

    Pragma: no-cache Cache-control: no-cache

    Which should work in all major browsers. See also: Issuing Correct HTTP Headers on perl.apache.org.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    :(){ :|:&};:

    Note: All code is untested, unless otherwise stated