Thanks, but no joy i'm afraid.
From: Andrew M [mailto:[EMAIL PROTECTED]
Sent: 30 November 2004 09:46
To: [EMAIL PROTECTED]
Subject: Re: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in the email addresses
try adding .toString() at the end.... not sure, but that might so the
trick.
Andrew
On 30 Nov 2004, at 09:42, David Merrilees wrote:
I'm having trouble retrieving a cookie value in flowscript. I have acookie set with the value 'true'. When I retrieve the value usingflowscript I receive the error:
true is not a function.
org.apache.avalon.framework.CascadingRuntimeException: true is not afunction.
My flowscript:
function contact() {var test = cocoon.request.getCookies()[0].value()cocoon.sendPage( "test.jx", { "test" : test } );}
Any ideas?
David Merrilees
---------------------------------------------------------------------To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
