Thanks for the suggestions.
The problem is that for these META-tags to work, they have to be in the
header, not the body of the HTML. Thus if I use
#*** Start HTML stuff ***
print $q-header,
$q-start_html(-title='New page',
-style={'src'='mystyle.css'});
and then
On Wed, 20 Nov 2002 at 13:58, Michael Kelly opined:
MK:On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
MK:
MK:CGI.pm doesn't support http-equiv meta-tags, according to the documentation.
MK:What about something as simple as:
what? snippet from perldoc CGI:
To create an HTTP-EQUIV
Perl/CGI really doesn't seem to like this way of doing META tags. I've
trimmed the irrelevant stuff, am the core of what I'm trying is the
following:
#!/usr/local/bin/perl
use POSIX;
use CGI;
$q = new CGI;
print $q-header,
$q-start_html(-title='New page',
:05 PST 2002
Subject: Non-caching META-tags
When writing HTML, the trick I normally use to ensure that images etc are
definitely the latest version, and not the cached version, is the
following:
META http-equiv=Cache-Control content=no-cache, must-revalidate
META http-equiv=Pragma: no-cache
I want
Hi,
Try using
use CGI qw/:standard/;
Works for me
Cheers
Koen
-Original Message-
From: Nick Malden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 2:39 PM
To: fliptop
Cc: Michael Kelly; Perl Beginners CGI List
Subject: Re: Non-caching META-tags
Perl/CGI really doesn't
On Thu, 21 Nov 2002 at 08:09, Michael Kelly opined:
MK:On Thu, Nov 21, 2002 at 07:19:37AM -0500, fliptop wrote:
MK: On Wed, 20 Nov 2002 at 13:58, Michael Kelly opined:
MK:
MK: MK:On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
MK: MK:
MK: MK:CGI.pm doesn't support http-equiv
When writing HTML, the trick I normally use to ensure that images etc are
definitely the latest version, and not the cached version, is the
following:
META http-equiv=Cache-Control content=no-cache, must-revalidate
META http-equiv=Pragma: no-cache
I want to do the same thing in a page generated
On Wed, 20 Nov 2002 at 14:02, Nick Malden opined:
NM:print $q-header,
NM: $q-start_html(-title='My new page',
NM:-meta={'http-equiv'='Cache-Control'
'content'='no-cache,must-revalidate'})
NM:-meta={'http-equiv'='Pragma: no-cache'});
NM:
NM:but this gives
NM:
On Wed, Nov 20, 2002 at 02:02:05PM +, Nick Malden wrote:
Hi Nick,
When writing HTML, the trick I normally use to ensure that images etc are
definitely the latest version, and not the cached version, is the
following:
META http-equiv=Cache-Control content=no-cache, must-revalidate
META