Re: Setting cookie paths

2003-11-06 Thread Jessica P. Hekman
On Mon, 3 Nov 2003, Bill Barker wrote: You could try using a browser like Netscape 7/Mozilla that allows you to view the information about your cookies. This will tell you what the browser thinks that the path is. As both Tim and I have pointed out, the browser won't return the 'path'

Re: Setting cookie paths

2003-11-03 Thread Jessica P. Hekman
Cookie.getPath() returns null (whether I call Cookie.setPath() or not). Surely if the problem were that the browser doesn't return the path information, the cookie would be available at all paths (or no paths)? Thanks, Jessica On Mon, 27 Oct 2003, Jessica P. Hekman wrote: On Mon, 27 Oct 2003

Re: Setting cookie paths

2003-10-29 Thread Jessica P. Hekman
On Mon, 27 Oct 2003, Bill Barker wrote: The browser isn't returning the path information when it returns the cookie, so Tomcat has no way of knowing what path it was created with. Well -- but when I later hit /bar/foo, I get the cookie back; and when I hit /bar, I don't. So the path

Setting cookie paths

2003-10-27 Thread Jessica P. Hekman
Using Tomcat 4.1.27 (though I saw the same behavior with 4.0.6) I am trying to set the path of a cookie (Cookie.setPath()). When I check the Cookie object, the path's successfully set (to /). I commit the cookie. I load a different page. I ask for the list of cookies available to me. The cookie's