Documented research indicates that on Fri, 27 Aug 2004 15:20:58 -0600,
Michael Gale wrote about "[PHP] Browser back button":
>Hello,
>
> I am sure this has been asked more then a few times but ... I have a web site
> where almost every page is dynamically
>created. So if at some point in th
I struggled with this one as well and the solution is quite simple;
1. Every PHP module that is reached via the action field in a form where
the method is POST (most of mine are) never outputs any html except a http
redirect (it will edit values, update the database, save session data, then
does
> Hello,
>
> I am sure this has been asked more then a few times but ... I have a web
> site where almost every page is dynamically
> created. So if at some point in the site if you hit your browsers back
> button a popup window occurs and asks if you want
> to resubmit the data. Upon clickin
On Fri, 2004-08-27 at 16:20, Michael Gale wrote:
> Hello,
>
> I am sure this has been asked more then a few times but ...
So why not search the archives then? :)
> I have a web site where almost every page is dynamically
> created. So if at some point in the site if you hit your browsers
Take an md5 of the entire file contents and store that in your form that
get's displayed. Then test if it matches the file when you go to make
the changes. Every time you change the file the md5 will change. See
below...
-js
Sample script:
marcel wrote:
> hi there
> I am kind of a
Also consider:
header("Cache-Control: public");
header("Cache-Control: max-age=" . $this->allowcache_expire * 60);
This will allow to set the expiration of the cached file on the on the clients
browser. The Cache Expire time is in minutes and can be found (and changed)
in the php.ini file. Sea
Just add this header
header ("Cache-Control: public");
Alex.
- Original Message -
From: "Lee P Reilly" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 11:26 PM
Subject: [PHP] browser back button - "Page has Expired.. " problem
> Hi,
>
> I wonder
Good day,
By default, IE will cache these pages (i.e. you won't get this message).
If you're receiving that message, it means that the browser doesn't have a
cached version of the page. Getting a new version would obviously mean
submitting the form information again, which IE, thankfully, doesn
8 matches
Mail list logo