[Modify] Polish it
This commit is contained in:
parent
d6ce637000
commit
7f916edafa
@ -114,7 +114,7 @@ namespace Example2
|
|||||||
s.CookiesValidator = (req, res) => {
|
s.CookiesValidator = (req, res) => {
|
||||||
// Check the cookies in 'req', and set the cookies to send to
|
// Check the cookies in 'req', and set the cookies to send to
|
||||||
// the client with 'res' if necessary.
|
// the client with 'res' if necessary.
|
||||||
foreach (Cookie cookie in req) {
|
foreach (var cookie in req) {
|
||||||
cookie.Expired = true;
|
cookie.Expired = true;
|
||||||
res.Add (cookie);
|
res.Add (cookie);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user