cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: [FLOW -Woody] access cookie value
Date Sat, 10 Jan 2004 15:58:39 GMT
Try cookies[0].value

james.lale@internet.lu wrote:

>Hi,
>
>Using Cocoon 2.1.4-dev, I'm trying to access cookie value in Flow...
>
>I'm using syntax:
>
>var cookies = cocoon.request.getCookies();
>
>//OK
>cocoon.log.info(cookies.length); => 1
>cocoon.log.info(cookies[0].name);=> COOKIE1
>
>//this doesn't 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 think bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22526 is fixed in 2.1.4-dev...
>
>TIA for any help
>James
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>



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


Mime
View raw message