aspose file tools*
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
Author

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
Sheriff

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: http://aspose.com/file-tools
 
subject: Testing URL encoding
 
Similar Threads
Disabling Cookie in IE 6
disable cookies in IE ?
URL Rewriting
HFSJ Final mock Q
Persistent Cookies with Servlets