re: headers, cookies, redirect

2000-11-17 Thread Michael McCormick
I'm not particularly grounded in web development, so this may not be specific to Tomcat. I'm hoping someone can explain how this works. I can get cookies sent back to the browser when performing a redirect if I set them _after_ I issue the redirect. That is, if I write: %

RE: headers, cookies, redirect

2000-11-17 Thread Michael McCormick
Thanks, I figured it out by blind luck just a few minutes earlier. Any idea why? On 2000.11.17, government thugs made [EMAIL PROTECTED] write: Flip it around, try % response.sendRedirect("bar.jsp"); response.addCookie(new Cookie("baz","quux")); % it seems like sendRedirect resets the