Click to See Complete Forum and Search --> : headers in ASP


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" ?>";?>

russell_g_1
10-05-2005, 03:29 PM
response.addheader "Pragma","no-cache" etc