You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ja...@internet.lu on 2004/01/06 08:07:21 UTC

flow cocoon.request.getCookies

Hi,

Using Cocoon 2.1.3.

I`m trying to get the value of a cookie inside a flow script (Woody) using the syntax:

var cookies = cocoon.request.getCookies();

//i know i have 1 cookie, cookies[0]
//output from these first two info statements is OK..

cocoon.log.info(cookies.length);
=> 1
cocoon.log.info(cookies[0].name);
=> COOKIE1

//this doesnt work...
cocoon.log.info(cookies[0].getValue());

//also tried...
cocoon.log.info(cookies[0].jsGet_value());

Error message is basic - "the function doesn`t exist"!

I`ve checked out the related bug to this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22526

I`m using cocoon 2.1.3, and the fixes for this bug seem to me to be implemented in this release.

Anyone any ideas please?

Thanks
James


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org