Hello,
I've got a form with 2 text boxes for the user to key in his username & password. I noticed that my browser(IE 6) is remembering the previously keyed in usernames & passwords when I right click & left click inside any of these text boxes. How to prevent my browser from remembering the previously keyed in usernames & passwords?
I Googled for Browser Caching(which I assume is the situation that I'm facing). Most of the sites recommend that I include the headers below on the top of my page. I tried it but it made no difference. Thanks for your help.
The headers I used:-
<?php
header( "Expires: Mon, 20 Dec 1998 01: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( "Cache-Control: post-check=0, pre-check=0", FALSE);
?>