aspose file tools*
The moose likes Servlets and the fly likes Cookies being read even after deleting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookies being read even after deleting" Watch "Cookies being read even after deleting" New topic
Author

Cookies being read even after deleting

Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146
I am confused about this cookie issue.
In Internet Explorer, I have deleted all the cookies by (help->Internet Options->Delete Browing History) before I run my servlet:



When I debug the code, I find that cookies array has 3 elements when there should be none. 2 of these are the cookies i created in this program earlier by following code:

What is the reason that those cookies are still being read?
Thanks
abhishek pendkay
Ranch Hand

Joined: Jan 01, 2007
Posts: 184
I doubt wether (help->Internet Options->Delete Browing History) will delete the cookies... there is seprate Delete Cookies option in Tools->Internet Options try that , that should delete all the cookies..
[ April 19, 2008: Message edited by: abhishek pendkay ]

The significant problems we face cannot be solved by the same level of thinking which created them – Einstein
SCJP 1.5, SCWCD, SCBCD in the making
Kristipati Raghuram
Greenhorn

Joined: Apr 19, 2008
Posts: 3
Hi

In Internet Options -> Browsing History -> Delete ->Delete Cookies options will help to delete the cookies.
Abhishek Asthana
Ranch Hand

Joined: Sep 08, 2004
Posts: 146

While writing this problem I really thought whether I should specify that I select 'Delete Cookies' option.
Yes I choose the write option to delete cookies.
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookies being read even after deleting