php - Back button in ie browser -
php - Back button in ie browser -
whenever press button of ie, browser display message "web page expired".
i have 1 registration page reg.php have save info in save_reg.php , button press , message display " web page expired".
i have seek next code:
header("expires: sat, 01 jan 2000 00:00:00 gmt"); header("last-modified: ".gmdate("d, d m y h:i:s")." gmt"); header("cache-control: post-check=0, pre-check=0",false); session_cache_limiter("must-revalidate");
but message remain remain
set expiration date in future:
header("expires: ".date("d, d m y h:i:s", time() + $desiredduration)." gmt");
time
returns current time measured in number of seconds since unix epoch , add together desired time in seconds , format date
function.
php internet-explorer http-headers
Comments
Post a Comment