public void removeCookie ( String path , String name ) { Cookie cookie = new Cookie ( name , "" ) ; cookie . setPath ( path ) ; cookie . setMaxAge ( 0 ) ; response . addCookie ( cookie ) ; }
Removes the cookie with given path and name .