Title: RE: headers, cookies, redirect
Flip it around, try
%
response.sendRedirect(bar.jsp);
response.addCookie(new Cookie(baz,quux));
%
it seems like sendRedirect resets the HTTP headers.
-Original Message-
From: Michael McCormick [mailto:[EMAIL PROTECTED]]
Sent: Friday
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:
%
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
Michael McCormick wrote:
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