This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cookies

 
Kranthi Kondapaka
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
this is my method
private void deleteCookie(HttpServletResponse response, String cookie) {
Cookie c = new Cookie(cookie, null);
c.setMaxAge( 0 );
c.setPath( "/" ); // for all subdirs
response.addCookie(c);

}
I am calling it from my action class.
After executing it also,m unable to delete the cookie,i mean unable to set the maxAge=0;

anyone help me out
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand. Why not?
 
Ajith Prasad
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is working perfectly with IE
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic