Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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 |

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://86128]
[choroba]: Interesting Regexp::Debugger issue
[Corion]: Most likely Regexp::Debugger uses something in main:: ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-09-25 21:32 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (291 votes). Check out past polls.