posts - 55,comments - 89,trackbacks - 0

Cookie[] cookies = request.getCookies();
    if (cookies != null) {
     for (int i = 0; i < cookies.length; i++) {
      cookies[i].setValue(null);
      cookies[i].setMaxAge(0);
      response.addCookie(cookies[i]);
     }
    }

posted on 2008-11-17 11:58 jiafang83 阅读(124) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: