cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Merrilees" <david.merril...@fenc.org.uk>
Subject retrieving a cookie value in flowscript
Date Tue, 30 Nov 2004 09:42:49 GMT
I'm having trouble retrieving a cookie value in flowscript. I have a
cookie set with the value 'true'. When I retrieve the value using
flowscript I receive the error:

true is not a function.

org.apache.avalon.framework.CascadingRuntimeException: true is not a
function.


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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message