cookie problem

2002-05-21 Thread lev

I am trying to set cookie from inside the action code in a site map.

Here is a snippet of my code:

Response response = (Response)
objectModel.get(Constants.RESPONSE_OBJECT);
Cookie cookie = response.createCookie("user","Jhon Doe");
cookie.setMaxAge(100);
response.addCookie(cookie);

But apparently this code doesn't work. I couldn't detect appropriate cookie
using IE. Did I do something wrong ?
BTW I use cocoon v. 2.0.1.

Thank you
Lev Tsentsiper


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




FW: multiple pipelines

2002-05-10 Thread lev






What is the reason to have multiple pipelines in the cocoon sitemap ?
Can they be collpsed in just one pipeline ?

Lev Thentsiper


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>