writeman
03-29-2007, 04:20 AM
hi all
my php script named aa.php and in the top of script I write
<?php
if($cookie_userid=='' || $cookie24 == ''){
header("Location: http://192.168.1.253/login.html");
exit();
}
?>
but when I don't set the cookie24 and change the IE url to "http://192.168.1.253/aa.php", I get the aa.php page.
Because I have cache the aa.php page in my IE.
the header("Location: http://192.168.1.253/login.html"); code don't work immediately.
Can I make it work immediately and not to get the cache page??
my php script named aa.php and in the top of script I write
<?php
if($cookie_userid=='' || $cookie24 == ''){
header("Location: http://192.168.1.253/login.html");
exit();
}
?>
but when I don't set the cookie24 and change the IE url to "http://192.168.1.253/aa.php", I get the aa.php page.
Because I have cache the aa.php page in my IE.
the header("Location: http://192.168.1.253/login.html"); code don't work immediately.
Can I make it work immediately and not to get the cache page??