Please tell me how to prevent IE from caching pages. After a user logs off they shouldn't be able to view their data by hitting back. The headers don't do much good, at least w/IE 6. Netscape works just as intended.
The headers I use are:
$now = gmdate('D, d M Y H:i:s') . ' GMT';
header('Expires: 0'); // rfc2616 - Section 14.21
header('Last-Modified: ' . $now);
header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1
header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
header('Pragma: no-cache'); // HTTP/1.0