Modified cookies validation, and added origin header validation

This commit is contained in:
sta
2014-03-07 21:15:55 +09:00
parent 12efc99805
commit 048627b4f9
5 changed files with 175 additions and 56 deletions

View File

@@ -16,16 +16,5 @@ namespace Example2
Send (msg);
}
protected override bool ValidateCookies (
CookieCollection request, CookieCollection response)
{
foreach (Cookie cookie in request) {
cookie.Expired = true;
response.Add (cookie);
}
return true;
}
}
}