Thank you Dave. I found out that Safary needs an additional attribute
in the body tag : body onunload= to reload the page.
So, here it is the code working for Firefox, Safari and IE, both
with PHP and LiveCode server.
PHP
?php
header(Cache-Control: no-cache, no-store, must-revalidate);
Thank you all. Trying to get rid of the browser cache setting the
proper headings (as Shao Sean suggested) , I came up with these 2
solutions:
PHP:
?php
header(Cache-Control: no-cache, must-revalidate);
header(Expires: Fri, 30 oct 1998 14:18:41 GMT);
?
?php
$dateTime = date(Y:m:d-H:i:s);
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: previous page button of browser opening on-rev server page
Thank you all. Trying to get rid of the browser cache setting the
proper headings (as Shao Sean suggested) , I came up with these 2
solutions:
PHP:
?php
header(Cache
On 26 Jul 2011, at 07:40, paolo mazza wrote:
Thank you all. Trying to get rid of the browser cache setting the
proper headings (as Shao Sean suggested) , I came up with these 2
solutions:
PHP:
?php
header(Cache-Control: no-cache, must-revalidate);
header(Expires: Fri, 30 oct 1998
Thank you all.
So, there is a property ( header ) only for the on-rev server environment?
In fact I can not use this property in the IDE (I get a compilation
error) and it does not exists in the LC documentation (version 4.6.0).
Are there other undocumented properties suitable only to the
On 26 Jul 2011, at 14:54, paolo mazza wrote:
Actually the script suggested by Jan works, and I get a page with 2
new headers. However, for some reasons, the browser do not reload the
page.
Dave, you are right, I was unfair with PHP... still, at least put
the long date is pretty elegant.
Hi Mark,
when I go back with then previous page button of the browser, the
cgi does not run again. The browser simply return the HTML recorded
in the browser cache.
I tried with Safary and with Firefox; both of them do the same thing.
However, if I empty the cache before returning to the
Jump down to example two and just do that in your .irev page
http://php.net/manual/en/function.header.php
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
I see, Paolo, I misunderstood your questions. As always, do what Shao Sean says
;-)
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
What does that error mean? Buy
Thank you all. Trying to get rid of the browser cache setting the
proper headings (as Shao Sean suggested) , I came up with these 2
solutions:
FIRST ONE WITH PHP
?php
header(Cache-Control: no-cache, must-revalidate);
header(Expires: Fri, 30 oct 1998 14:18:41 GMT);
?
?php
$dateTime =
10 matches
Mail list logo