Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: How can i do a expires to my page

by Chady (Priest)
on Jun 06, 2001 at 09:30 UTC ( #86128=note: print w/ replies, xml ) Need Help??

in reply to How can i do a expires to my page

if you're using expires, then you're doing the right thing... but if the page still shows up when you click back, this is the fault of your ISP probably having a cache that doesn't respect HTML headers..

and what's with the refresh?? of course you'll see the page when you refresh it.. or do you want everyone to view it only once in their lifetime??

Maybe the problem is with your code, that's how it should be:

print $query->header(-type=>'text/html', -expires=>'-1d');

Update: Re-read it, the expires is in the header not in the starthtml

He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady |

Comment on Re: How can i do a expires to my page
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://86128]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2015-11-30 11:17 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls