Also, there's a problem with cookies when using localhost. Here's an excerpt from Jetspeed's README:
5. Auto-login feature does not work when using localhost for the host name. A real domain name must be used or an alias must be created in hosts file (for example: 127.0.0.1 -> www.localhost.com). Auto-login is cookie based. Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ > -----Original Message----- > From: Pernoud Aurelien [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2003 1:43 AM > To: Jetspeed Users List > Subject: RE: Regarding Cookies > > > > 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] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
