in reply to Re: Expiring CGI pages
in thread Expiring CGI pages

No.

Don't send anything in the body of the message that is really meant to be sent in the headers. The "meta http-equivalent" is meant only for those (hopefully rare) situtations where a document content needs to specify some meta instructions. Since the original question was clearly in the context of a CGI script, where you do in fact control the headers, the answer is completely inappropriate.

{sigh}

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: •Re: Re: Expiring CGI pages
by strat (Canon) on Mar 07, 2002 at 19:21 UTC
    I wrote: Maybe instead of expires the following line in the header might help you:

    I didn't write: put this line in the body, did I?

    If I really did, then sorry for my bad english. This was not intended by me.

    Best regards,
    perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

      The head (which you call "header") and the body of an HTML payload are still part of the content. This kind of meta stuff doesn't belong in the content. It belongs in the HTTP Header.

      -- Randal L. Schwartz, Perl hacker

        Now I understand what you said, and agree.

        Thanks for showing a better solution!

        Best regards,
        perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"