Discussion:
refresh not working in IE
hadi
2014-06-15 18:45:55 UTC
Permalink
Hi,

I have refresh code to refresh the page every time of second.
Refresh code is working fine in chrome and mozilla firefox.
The problem here the refresh code is working fine also in IE, but when I
click F5 to refresh the page manually it get disable in IE only. And no
more doing refresh in IE.
Can someone help regard this matter.
Thank you.

My code.

$page = $_SERVER['PHP_SELF'];
$sec = 10;
header("Refresh: $sec; url=$page");
Aziz Saleh
2014-06-15 18:54:12 UTC
Permalink
Post by hadi
Hi,
I have refresh code to refresh the page every time of second.
Refresh code is working fine in chrome and mozilla firefox.
The problem here the refresh code is working fine also in IE, but when I
click F5 to refresh the page manually it get disable in IE only. And no
more doing refresh in IE.
Can someone help regard this matter.
Thank you.
My code.
$page = $_SERVER['PHP_SELF'];
$sec = 10;
header("Refresh: $sec; url=$page");
Try using the absolute URL.
hadi
2014-06-15 19:07:23 UTC
Permalink
Post by Aziz Saleh
Try using the absolute URL.
Can you give me example using my code how to do it.
Thanks.
Post by Aziz Saleh
-----Original Message-----
Sent: Sunday, June 15, 2014 9:54 PM
To: hadi
Subject: Re: [PHP] refresh not working in IE
Post by hadi
Hi,
I have refresh code to refresh the page every time of second.
Refresh code is working fine in chrome and mozilla firefox.
The problem here the refresh code is working fine also in IE, but when
I click F5 to refresh the page manually it get disable in IE only. And
no more doing refresh in IE.
Can someone help regard this matter.
Thank you.
My code.
$page = $_SERVER['PHP_SELF'];
$sec = 10;
header("Refresh: $sec; url=$page");
Try using the absolute URL.
hadi
2014-06-16 00:20:24 UTC
Permalink
Post by hadi
Post by Aziz Saleh
Try using the absolute URL.
I found the solution. I used (header("Refresh: 10;");) only and it work thank
you for your support.
Post by hadi
Post by Aziz Saleh
Try using the absolute URL.
Can you give me example using my code how to do it.
Thanks.
Post by Aziz Saleh
-----Original Message-----
Sent: Sunday, June 15, 2014 9:54 PM
To: hadi
Subject: Re: [PHP] refresh not working in IE
Post by hadi
Hi,
I have refresh code to refresh the page every time of second.
Refresh code is working fine in chrome and mozilla firefox.
The problem here the refresh code is working fine also in IE, but when
I click F5 to refresh the page manually it get disable in IE only. And
no more doing refresh in IE.
Can someone help regard this matter.
Thank you.
My code.
$page = $_SERVER['PHP_SELF'];
$sec = 10;
header("Refresh: $sec; url=$page");
Try using the absolute URL.
Loading...