My client does not want to change his cache settings on IE and I'm trying to figure out a way to dynamically update a view each time it is visited. I figured that javascript/AJAX might help, but after 8 hours of searching, I'm more confused that I was before. Can this be done? If so, how?
Put these lines in the beginning of the web (you need PHP): <?php header("Expires: Sun, 01 Mar 2009 00:00:00 GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); ?>
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 1  Reply
<?php
header("Expires: Sun, 01 Mar 2009 00:00:00 GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
?>
I hope that these code will be useful for you