Rodney Myers wrote:
> 
> Is that better than or just equivalent to :
> 
> print <<EOP;
> Content-type: text/html
> Pragma: no-cache
> <html>
> ....
> 
At least it is not worse. I KNOW that it works, I do not know that your
approach works:

-       After "Content-type: text/html" 2 new lines have to follow. This may be
        different when pragmas are following. But do not think that this works with
        all browsers when you tried it successfully with one.

-       I don't know whether the line "Pragma: no-cache" will be understood by
        proxy servers but I know that the the meta tag

                <meta http-equiv="pragma" content="no-cache">

        is understood by every proxy server I ever have dealt with.

-       Do not forget to stop the browser caching by the other meta tag

                <meta http-equiv="expires" content="0">

I use both meta tag lines in every page which should be reloaded from
source and not from cache. The meta tag approach can also be employed in
"static" html files which are not generated by scripts but updated very
often - by scripts or by "hand". Therefore, this method can be used more
generally and I do not see any disadvantages.

Cheers

Stephan
-- 
Dipl.-Chem. Stephan Tinnemeyer
Lindenallee 20
24105 Kiel
Germany

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to