下面的都是清除缓存的语句:
header("Expires: Mon,26 Mar 1997 06 26 06:00:00 GMT");
header("Last-Modified: ".gmdate("D,d M Y H:i:s")." GMT");
header("Cache-control: no-cache, must-revalidate");
header("Pragma: no-cache");/********************/
header('WWW-Authenticate: Basic realm="Authentication"');
header('HTTP/1.0 401 Unauthorized');
exit;

解决方案 »

  1.   

    谢谢楼上两位,不过还是不行啊,我用了header("Cache-control: no-cache, must-revalidate"),可还是没能清除保存的密码
      

  2.   

    谢谢楼上两位,不过还是不行啊,我用了header("Cache-control: no-cache, must-revalidate"),可还是没能清除保存的密码
    ------------------------------------It is caused by the auto complete function of IE, maybe. Close it and try again.