This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
 
Consider Paul's rocket mass heater.
 
subject: Testing URL encoding