Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

cross-origin-set-cookies.php

<?php
$age_string = "";
if ($_GET['clear']) {
    $age_string = "expires=Thu, 19 Mar 1982 11:22:11 GMT";
}
header("Set-Cookie: WK-xhr-cookie-storage=MySpecialValue;$age_string");
header("Cache-Control: no-store");
header("Last-Modified: Thu, 19 Mar 2009 11:22:11 GMT");
header("Access-Control-Allow-Origin: http://127.0.0.1:8000");
header("Access-Control-Allow-Credentials: true");
?>
log('PASS: Loaded');

Generated by  Doxygen 1.6.0   Back to index