If you're doing that from inside a portlet, it's already too late to set a cookie, the response has started to be sent to the browser so the cookie will never reach it. To set a cookie, you must use an action, as JLoginUser for example, or your own one.
Parasuram Gopal a �crit : > Hello All, > I'm facing a little weird problem with Jetspeed. I created a > cookie and attached it to the response like > rundata.getResponse().addCookie(cookie); > But this cookie doesn't seem to get created. I enabled the > browser prompt for cookie option to see if it > is getting created, but it is not creating it. On the other > hand, I just use a simple servlet in the same environment > and tried to attach the same cookie in that response object > and it works fine. Wondering if I'm missing anything > or it is a known bug ?. please let me know. > thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
