newbie question about print header

2006-03-08 Thread Mary Anderson
I want to know how to tell my application not to cache. Kevin Meltzer's book and Lincoln Stein's book neatly drop that ball between them. Can I use the cgi.pm header routine and hand it a variable? print header (-no-cache= 1) .. there are several variants of this --- using -nph-1 its

Re: newbie question about print header

2006-03-08 Thread Bill Stephenson
From the CGI.pm docs... Most browsers will not cache the output from CGI scripts. Every time the browser reloads the page, the script is invoked anew. You can change this behavior with the -expires parameter. When you specify an absolute or relative expiration interval with this parameter,