back button - dynamically generated pages are expiring
Hi,
I have a script dyanmically generated web pages. At bottom of each new page is a "Next" button, which submits to the script and displays the next page in the series.
Also there is a "Back" button which performs a JavaScript history.back() command (oops - hope i put this in the right forum).
Anyway, a lot of people are getting "page expired" messages when they use my back button and/or the browser's own back button.
Why is this happenning? And can I fix this issue? Thanks in advance...
ROB posted this at 17:45 — 12th July 2002.
They have: 447 posts
Joined: Oct 1999
are you sending no-cache headers or expiration headers?
you can try this, not sure if it will work though:
<?php
@header(\"Expires: \" . gmdate (\"M d Y H:i:s\",time() + 8640000));
?>
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.