stop browser from cacheing page
Posted: Tue Dec 09, 2003 2:41 pm
hi,
im using basic authentication to protect a .php file containing my passwords. ive seen lots of stuff about this subject and im using
to reload the page. this worked with a simple php page however when i tried it with basic authentication the login box didn't appear. is there anyway to fix this so everything is reloaded?
thanks
im using basic authentication to protect a .php file containing my passwords. ive seen lots of stuff about this subject and im using
Code: Select all
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);thanks