File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Testing URL encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Testing URL encoding" Watch "Testing URL encoding" New topic

Testing URL encoding

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
I am testing URL encoding feature and want to disable cookie in my browser. However, it seems that IE6 doesn't disable the cookie even if I've changed the setting. I tried both ways but it seems that IE still returning the JSESSIONID cookie back:

1) Tool->Option->Privacy->slide up the bar to highest level (to block all cookies)

2) Tool->Option->Privacy->Advanced->click O,B,L, uncheck W
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

There is a separate checkbox in MSIE (under the privacy -> advanced section) for dealing with session cookies.
Make sure it's unchecked.

By the way, what does this question have to do with URL Re-Writing?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
Yes, I've unchecked it (W). And, if we do not disable cookie, tomcat 5 will use cookie as session management and stop doing URL rewriting after the first attempt - so response.encodeURL("url") has no effect on the url.
I agree. Here's the link:
subject: Testing URL encoding
It's not a secret anymore!