Do:
I've just tried this locally and had it working. A few things to try:

print(cocoon.request.cookies);
print (cocoon.request.getCookie("yourcookie"));

What does they say?

Remember that a session ID might be your first cookie. That may well not be what you are after.

Regards, Upayavira

David Merrilees wrote:

No, none of that works. I think there is a bug in cocoon.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: 30 November 2004 12:22
To: [EMAIL PROTECTED]
Subject: RE: retrieving a cookie value in flowscript - Email has

Try to break it down in steps:

var cookies = cocoon.request.getCookies(); if (cookies.size() > 0) {
  var firstcookie = cookies[0];
  print("first cookie value: " + firstcookie.getValue()); }

HTH.

Bye, Helma



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to