Internet Explorer – jQuery – Prevent AJAX Caching


$.ajaxSetup({ cache: false });

 

source:

http://stackoverflow.com/questions/4303829/how-to-prevent-jquery-ajax-caching-in-internet-explorer

Advertisements

IE Download Over SSL Error


Previous Code

<?php
header(‘Content-type: application/pdf’);
header(‘Content-Disposition: attachment; filename=”downloaded.pdf”‘);
readfile(‘original.pdf’);
?>

New Code

<?php
header(‘Cache-Control: maxage=3600’); //Adjust maxage appropriately
header(‘Pragma: public’);
header(‘Content-type: application/pdf’);
header(‘Content-Disposition: attachment; filename=”downloaded.pdf”‘);
readfile(‘original.pdf’);
?>

source:

http://elrems.wordpress.com/2008/03/05/php-header-pdf-document/