Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How can i do a expires to my page

by Chady (Priest)
on Jun 06, 2001 at 09:30 UTC ( [id://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 | http://chady.net/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-29 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found