why can't remove cookie at server?
icode opened this issue · 2 comments
icode commented
static signout(HttpConnect connect) {
connect.request.session.destroy();
var resp = JSON.encode({
'success': true
});
connect.response
..cookies.clear()
..headers.contentType = getContentType('json')
..write(resp);
}
remove cookie action not send browser.
icode commented
connect.response
..cookies.add(new Cookie('nick')..maxAge=-1)
..headers.contentType = getContentType('json')
..write(resp);
write this?
tomyeh commented
Please post it to stackoverflow.com. This is for bug reporting or feature requests For spec clarification, please use stackoverflow.com.