Reload the page on hitting back button

paolo mazza mazzapaoloitaly at gmail.com
Tue Jul 2 10:15:52 EDT 2013


Hi LiveCoders,
I want the browser to reload the page on hitting back button

Using php I would use this script:

<?php
header("Cache-Control: private, must-revalidate, max-age=0");
header("Pragma: no-cache");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // A date in the past
?>

What about a LiveCode server script ?

How can I force the browser to reload a dinamic .lc page from the server?

Consider  the session has been expired and user can not access anymore
reserved pages ... how can I prevent the user to go back hitting the back
button?

All the best

Paolo



More information about the use-livecode mailing list