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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to