chesty wrote:
> > > #!/usr/bin/perl
> > > use CGI qw/:standard/;
> 
> I don't think you need the qw/:standard/ if you're using the
> object oriented style, ie $q->header, etc.

OK I'll try it without and have a read of the docs too.

> > How do I tell the browser/proxy that I don't want this page cached?
> Heres some perl code.
> 
> print $q->header(-type=>'text/html',
>                  -expires=>'+30s',
>                  -pragma=>'no-cache',
>                  -cache-control=>'no-cache');
> 
Just tried this with my app. That bloody old gif is still
not updated.
Also tried 0 seconds (-expires=>'0').
Maybe there is some other rason why its not updated?

Mike

PS. My app looks great - just this one silly prob at
present. Does a monte-carlo molecular simulation in a web
browser for students. We plan to replace a real experiment
with it - cheaper ;-)

--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02
9514 1628 
URL: http://www.science.uts.edu.au/~mikel
Linux enthusiast, active caver and interested in anything
technical.
--------------------------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to