pelegk1
10-05-2005, 07:42 AM
i have this headers written in php and i want the same in asp:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
//HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
//////////////
header('Content-Type: text/xml;'); echo "<?xml version="1.0" encoding="windows-1255" ?>";?>
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
//HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
//////////////
header('Content-Type: text/xml;'); echo "<?xml version="1.0" encoding="windows-1255" ?>";?>