Hi all,
I have been using CGI.pm to code my PERL cgi scripts and I want to set a
time
for the webpage to expire.
I coded the expire parameter as below but it never worked in Microsoft
Internet Explorer!
print header(-expires=>+5s);
I found out that the expire parameter works for me in Netscape
Perl Gurus,
How can I set global variables in perl.?
I'm trying to do something like..
if(param())
{
my $myvar=param("myvar");
if(param("myvar2"){
use $myvar here..
Has some script to show a form..
}
else {
On submitting the form, user enters here..
someother use of $myvar..
Here, my script i
How can I make the "Open File and print content statements" work from my sub make_body
when called from sub create_file?
The output I get is
open message.txt; while () { = "." } print
The contents of message.txt i
Hi all,
I'm trying to stop browsers from caching a page that I'm using CGI.pm to
output. According to what I've read about CGI.pm, the way I do this is with:
print header(-expires=>'-1d');
which sends a header that says the page expired yesterday (and needs to
be reloaded). However, the pag
Update to the info below,
when I hit "view source" I don't see the http headers in IE. However, they
are being generated - so they're either being stripped out by my servee
(unlikely) or IE doesn't show them (hmmm). Either way, IE is still caching
pages I set to expire yesterday...
-Original