Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: page expired message

by r34d0nl1 (Pilgrim)
on Jan 03, 2005 at 18:28 UTC ( #419004=note: print w/replies, xml ) Need Help??

in reply to page expired message

Have you setted a expiration time? Maybe checking the header sent to the browser would help.
If you are using the cgi module you would add the -expires parameter to the header() method, like
print $query->header(-type=>'image/gif', -nph=>1, -status=>'402 Payment required', -expires=>'+3d', -cookie=>$cookie, -charset=>'utf-7', -attachment=>'foo.gif');
You can see a deeply explanation by checking perldoc CGI
I hope it could help

Replies are listed 'Best First'.
Re^2: page expired message
by Hammy (Scribe) on Jan 03, 2005 at 18:40 UTC
    I do not have any expirations set. Also, I can not reproduce this problem. It is only one client and sporatic clients elsewhere. Is there a way I can force the message to be skipped? I will try to find the info in perldoc, I just have not been successful so far with my searches.

      As this is a client-side message, you will be able to do nothing on the server to fix it aside from fixing your page flow and not displaying pages directly from POSTed form content.

      FYI, the mozilla version of this error is the pop-up box that says something about clicking OK will re-submit this form possibly causing an action to be repeated

        This only happens when my site is put inside a frame (frame from my own site). It also only happens on XP service pack 1. Not sure if this adds anything, but I just thought I would mention it. Thanks you again, very much.
        Thank you, that is not the answer I was hoping for, but, unfortunately it is the one I expected.

        Just so I am clear - the reason this is happinging is because I am posting to index.cgi and index.cgi is printing out a web page. To stop it from happening, I would need to post to index.cgi and have it redirect to a web page of some kind?

        Another big question is why does this only happen with one client - I have personally never seen it and the majority of the other people I have using the site have only sporatically seen it.

        Thank you for all your insight!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2019-10-15 06:05 GMT
Find Nodes?
    Voting Booth?