can you please tell me the code to delete a cookie using java?
unfundedPeople succeed in answering coolguy's questions 0% of the time (0 success in 7 attempts).
Answers by: jose | coolguy008 | Meeko28 | JackMann413 | Sir Michael | Rich Collins | JJ
This might be what you need:
http://techpatterns.com/downloads/javascript_cookies.php
Here's another one: http://blogs.x2line.com/al/articles/316.aspx
JJ: this will not work because:
first of all, i want the solution in java not java-script.
secondly, most of the solutions on the net including the ones you suggested, manage cookies on client's computer.
rather i want a code that a client can use to delete cookies, set by sites. let me elaborate with an example. lets say i use yahoo mail and yahoo people can use some variation of your suggested codes to manage cookies on my desktop. but the question is how can i delete the cookie set by yahoo on my system?
Oh, I see. I don't really know anything about java, but I thought I'd try. There's a lot of results in this search:
http://www.google.com/search?hl=en&rlz=1B3GGGL_enUS225US225&q=delete+cookie+java+code&btnG=Search
I'm not sure exactly what you need, but you can look in there.